Skip to content

Commit

Permalink
Fix swapped arguments for leaf biomass allometry.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpaiao committed Dec 7, 2023
1 parent 416f70f commit d29e182
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions biogeochem/FatesAllometryMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1508,9 +1508,11 @@ subroutine dh2blmax_2pwr(d,p1,p2,dbh_maxh,c2b,blmax,dblmaxdd)
return
end subroutine dh2blmax_2pwr


! ===========================================================================

subroutine dh2blmax_3pwr(d,h,dhdd,p1,p2,p3,slatop,c2b,dbh_maxh,blmax,dblmaxdd)

subroutine dh2blmax_3pwr(d,h,dhdd,p1,p2,p3,slatop,dbh_maxh,c2b,blmax,dblmaxdd)
!--------------------------------------------------------------------------
!
! This function calculates the maximum leaf biomass from reference
Expand Down Expand Up @@ -1544,8 +1546,8 @@ subroutine dh2blmax_3pwr(d,h,dhdd,p1,p2,p3,slatop,c2b,dbh_maxh,blmax,dblmaxdd)
! p2 -- Parameter 2 (power, or log-slope) [ --]
! p3 -- Parameter 3 (power, or log-slope) [ --]
! slatop -- Top-of-canopy specific leaf area [ m2/gC]
! c2b -- Carbon to biomass multiplier ~ 2 [ kg/kgC]
! dbh_maxh -- DBH at maximum height [ cm]
! c2b -- Carbon to biomass multiplier ~ 2 [ kg/kgC]
!
! ------------------
! Output arguments
Expand Down

0 comments on commit d29e182

Please sign in to comment.