Skip to content

Commit

Permalink
Correct ipft to pft in tree_lai function
Browse files Browse the repository at this point in the history
  • Loading branch information
kovenock authored Jun 12, 2018
1 parent bd78130 commit f50bb38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biogeochem/FatesAllometryMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ real(r8) function tree_lai( bl, status_coh, pft, c_area, n, cl, canopy_layer_tai

! Observational constraint for maximum sla value (m2/kgC):
! m2/kgC = g/kg* m2/gBiomass *kgC/kgBiomass
sla_max = g_per_kg * sla_max_drymass * EDPftvarcon_inst%c2b(ipft)
sla_max = g_per_kg * sla_max_drymass * EDPftvarcon_inst%c2b(pft)
! Leafc_per_unitarea at which sla_max is reached due to exponential sla profile in canopy:
leafc_slamax = (slat - sla_max * exp(-1.0_r8 * kn * laican)) / &
(-1.0_r8 * kn * tai_to_lai * slat * sla_max)
Expand Down

0 comments on commit f50bb38

Please sign in to comment.