Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New allometry option for storage #959

Merged
merged 2 commits into from
Jan 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion biogeochem/FatesAllometryMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1085,6 +1085,8 @@ subroutine bstore_allom(d,ipft,crowndamage, canopy_trim,bstore,dbstoredd)

real(r8) :: bl ! Allometric target leaf biomass
real(r8) :: dbldd ! Allometric target change in leaf biomass per cm
real(r8) :: blmax ! Allometric target leaf biomass (UNTRIMMED)
real(r8) :: dblmaxdd ! Allometric target change in leaf biomass per cm (UNTRIMMED)


! TODO: allom_stmode needs to be added to the parameter file
Expand All @@ -1098,7 +1100,12 @@ subroutine bstore_allom(d,ipft,crowndamage, canopy_trim,bstore,dbstoredd)

call bleaf(d,ipft, crowndamage, canopy_trim, bl, dbldd)
call bstore_blcushion(d,bl,dbldd,cushion,ipft,bstore,dbstoredd)


case(2) ! Storage is constant proportionality of untrimmed maximum leaf
! biomass (ie cushion * bleaf)
call blmax_allom(d,ipft,blmax,dblmaxdd)
call bstore_blcushion(d,blmax,dblmaxdd,cushion,ipft,bstore,dbstoredd)

case DEFAULT
write(fates_log(),*) 'An undefined fine storage allometry was specified: ', &
allom_stmode
Expand Down