You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: main/EDParamsMod.F90
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,10 @@ module EDParamsMod
46
46
real(r8),protected :: ED_val_patch_fusion_tol
47
47
real(r8),protected :: ED_val_canopy_closure_thresh ! site-level canopy closure point where trees take on forest (narrow) versus savannah (wide) crown allometry
48
48
49
+
! two special parameters whose size is defined in the parameter file
integer, parameter:: nlevmclass_ed =5! nlev "mortality" classes in ED
123
104
! Number of ways to die
124
105
! (background,hydraulic,carbon,impact,fire)
@@ -552,12 +533,12 @@ module EDTypesMod
552
533
553
534
! TERMINATION, RECRUITMENT, DEMOTION, and DISTURBANCE
554
535
555
-
real(r8):: terminated_nindivs(1:nlevsclass_ed,1:maxpft,2) ! number of individuals that were in cohorts which were terminated this timestep, on size x pft x canopy array.
536
+
real(r8), allocatable:: terminated_nindivs(:,:,:) ! number of individuals that were in cohorts which were terminated this timestep, on size x pft x canopy array.
556
537
real(r8) :: termination_carbonflux(2) ! carbon flux from live to dead pools associated with termination mortality, per canopy level
557
538
real(r8) :: recruitment_rate(1:maxpft) ! number of individuals that were recruited into new cohorts
558
-
real(r8):: demotion_rate(1:nlevsclass_ed) ! rate of individuals demoted from canopy to understory per FATES timestep
539
+
real(r8), allocatable:: demotion_rate(:) ! rate of individuals demoted from canopy to understory per FATES timestep
559
540
real(r8) :: demotion_carbonflux ! biomass of demoted individuals from canopy to understory [kgC/ha/day]
560
-
real(r8):: promotion_rate(1:nlevsclass_ed) ! rate of individuals promoted from understory to canopy per FATES timestep
541
+
real(r8), allocatable:: promotion_rate(:) ! rate of individuals promoted from understory to canopy per FATES timestep
561
542
real(r8) :: promotion_carbonflux ! biomass of promoted individuals from understory to canopy [kgC/ha/day]
562
543
563
544
! some diagnostic-only (i.e. not resolved by ODE solver) flux of carbon to CWD and litter pools from termination and canopy mortality
0 commit comments