Skip to content

Commit

Permalink
Merge pull request #2 from rgknox/jfn-nocomplargetreeinitfix
Browse files Browse the repository at this point in the history
Small quality of life update to cohort age in create_cohort
  • Loading branch information
JessicaNeedham authored Sep 11, 2023
2 parents eb25064 + e402f0c commit 466960b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/EDInitMod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ subroutine init_cohorts(site_in, patch_in, bc_in)
real(r8) :: stem_drop_fraction ! fraction of stem to absciss when leaves absciss
real(r8) :: fnrt_drop_fraction ! fraction of fine roots to absciss when leaves absciss
integer, parameter :: recruitstatus = 0 ! whether the newly created cohorts are recruited or initialized

real(r8),parameter :: zero_co_age = 0._r8 ! The age of a newly recruited cohort is zero
!-------------------------------------------------------------------------------------

patch_in%tallest => null()
Expand Down Expand Up @@ -1083,7 +1083,7 @@ subroutine init_cohorts(site_in, patch_in, bc_in)
call prt%CheckInitialConditions()

call create_cohort(site_in, patch_in, pft, cohort_n, &
hite, 0.0_r8, dbh, prt, efleaf_coh, &
hite, zero_co_age, dbh, prt, efleaf_coh, &
effnrt_coh, efstem_coh, leaf_status, recruitstatus, &
canopy_trim, c_area, 1, crown_damage, site_in%spread, bc_in)

Expand Down

0 comments on commit 466960b

Please sign in to comment.