Skip to content

Commit

Permalink
Fix microtopo parameter calcs
Browse files Browse the repository at this point in the history
  • Loading branch information
rfiorella committed Jul 25, 2024
1 parent 1550a06 commit 530b4a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/elm/src/biogeophys/ActiveLayerMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -215,11 +215,11 @@ subroutine alt_calc(num_soilc, filter_soilc, &
if (lun_pp%polygontype(col_pp%landunit(c)) .eq. ilowcenpoly) then
rmax(c) = 0.4_r8
vexc(c) = 0.2_r8
ddep(c) = min(0.05_r8, max(0.15_r8 - 0.25_r8*subsidence(c), 0.15_r8))
ddep(c) = max(0.05_r8, 0.15_r8 - 0.25_r8*subsidence(c))
elseif (lun_pp%polygontype(col_pp%landunit(c)) .eq. iflatcenpoly) then
rmax(c) = min(0.1_r8, max(0.4_r8, 0.1_r8 + 0.75_r8*subsidence(c)))
vexc(c) = min(0.05_r8, max(0.2_r8, 0.05_r8 + 0.375_r8*subsidence(c)))
ddep(c) = min(0.01_r8, max(0.05_r8, 0.01_r8 + 0.1_r8*subsidence(c)))
rmax(c) = min(0.4_r8, 0.1_r8 + 0.75_r8*subsidence(c))
vexc(c) = min(0.2_r8, 0.05_r8 + 0.375_r8*subsidence(c))
ddep(c) = min(0.05_r8, 0.01_r8 + 0.1_r8*subsidence(c))
elseif (lun_pp%polygontype(col_pp%landunit(c)) .eq. ihighcenpoly) then
rmax(c) = 0.4_r8
vexc(c) = 0.2_r8
Expand Down

0 comments on commit 530b4a2

Please sign in to comment.