Go to the source code of this file.
◆ initandsetconstheightclprops()
subroutine initandsetconstheightclprops |
( |
integer, intent(in) | nspc | ) |
|
InitAndSetConstHeightClProps.
- Determines the leaf areas corresponding to the light intensity in the light classes
- Initializes the state variables
- Calculates and stores cell specific, height-class related but constant properties:
- height, diameter, biomass, leaf area, seed production
- USE: FileListModule, All_par
- IN:
- Parameters
-
- from ALL_par:
- maxhc, maxlc : INTEGER:: : max. number of height classes (0-maxhc) and light classes (1-maxlc)
- maxlat, maxlon :INTEGER:: number of rows/cols of simulation domain
- htmax: INTEGER : max. height of all species
- birht :REAL : height of trees when entering first height class
- hcwidth: REAL : discrete height class width
- tabsepOutput :LOGICAL: tabulator (T) or comma separated output?
- pltsiz :REAL : Plot size [=patchSize]
- toplt =1.0 :REAL, parameter: Light at the top of the canopy
- spec(maxspc) :TYPE(SpecProperties) : species properties; here a.o. all species parameters are put to spec
- OUT:
- via All_par:
- specCl(maxspc): TYPE(SpecPropertiesInCl) : species properties in light and height classes
- stateGrid : TYPE(CurrStateInCell), dimension(:, :), allocatable :: current state in each cell (the entire grid)
- seedrain : TYPE(NewSeedsInCell), dimension(:, :), allocatable:: arriving seeds in each cell (the entire grid)
- LightAndLeafAreaPerLightClass, BiomPerTreeHCLOutFile, LAIPerTreeHClOutFile,
SeedProdFractPerTreeHClOutFile, DBHPerTreeHClOutFile, HeightPerHClOutFile : TYPE(File) : output files
- ltfrq(maxlc): REAL : Light frequency in light classes
- ltcum(maxlc): REAL : Cumulative lightfreq. in light classes
- ltval(maxlc): REAL : Light Values
- la(maxlc): REAL : Leaf area belonging to light in light classes ltcl
- CALLS:
- CALLED FROM:
Definition at line 42 of file InitAndSetConstHeightClProps.f90.