Go to the source code of this file.
◆ localforestdynamics()
subroutine localforestdynamics |
( |
integer, intent(in) | nspc, |
|
|
integer, intent(in) | year, |
|
|
logical, intent(in) | dodispersal, |
|
|
type(currstateincell), intent(inout) | thiscell ) |
LocalForestDynamics.
Calculates the local forest dynamics
- if cell is not stockable, nothing is done
- current cell is initialized for this time step
- numbers of trees in height classes and ingrowth
- light and (total) leaf area structures
- disturbance mortality is calculated
- then for each height class from top to bottom
- the light distribution is calculated
- for each species
- the produced seeds are determined
- in each light class
- mortality and growth are determined
- within these subroutines the current numbers are updated
- the total seed production per species is calculated
- the self regulation of the species on the level of seeds ist determined
- immigration, if there is any, is evaluated
- the regeneration, i.e. germination and competition for space is determined
- Todo
- check whether htcl and ltcl are really needed in All_par
- USE: All_par
- IN:
- Parameters
-
nspc | : number of species
|
year | : current year, felative |
doDispersal | : dispersal ? |
thiscell | : current cell |
- FROM All_par
- maxspc: INTEGER : maximum number of species
- maxhc: INTEGER : maximum number of height classes
- maxlc: INTEGER : maximum number of light classes
- ltfrq(maxlc): REAL : Light frequency in light classes
- htcl: INTEGER : current height class
- ltcl: INTEGER : current light class
- spec(maxspc): TYPE(SpecProperties) : fixed species properties
- stockability: REAL, dimension(:, :), allocatable: grid of stockable cells (0,1)
- disturbances: LOGICAL: Flag whether disturbances are included
- disturbProb: REAL: disturbance probability (1/year) per cell
- disturbIntensity: REAL : disturbance intensity (0.0..1.0)
- CurrStateInCell: TYPE describing the current state
- OUT:
- CALLS:
- CALLS support routines:
- CALLED FROM:
Definition at line 78 of file LocalForestDynamics.f90.