Increments height growth according to a lognormal equation, with the possibility of two sets of parameters for each species.
More...
|
| clLogBiLevelGrowth (clSimManager *p_oSimManager) |
| Constructor. More...
|
|
| ~clLogBiLevelGrowth () |
| Destructor. More...
|
|
float | CalcHeightGrowthValue (clTree *p_oTree, clTreePopulation *p_oPop, float fDiameterGrowth) |
| Calculates the amount of height growth increase for a particular tree using the lognormal growth equation. More...
|
|
void | DoShellSetup (xercesc::DOMDocument *p_oDoc) |
| Does the setup for this behavior. More...
|
|
| clGrowthBase (clSimManager *p_oSimManager) |
| Constructor. More...
|
|
virtual | ~clGrowthBase () |
| Destructor. More...
|
|
void | Action () |
| Performs all growth calculations if "hooked". More...
|
|
virtual float | CalcDiameterGrowthValue (clTree *p_oTree, clTreePopulation *p_oPop, float fHeightGrowth) |
| Calculates the amount of diameter growth increase for a particular tree, if applicable. More...
|
|
virtual float | GetGrowthMemberValue (clTree *p_oTree, float fDiameterGrowth) |
| Calculates the value to go into a tree's "Growth" data member as the amount of growth. More...
|
|
virtual void | PreGrowthCalcs (clTreePopulation *p_oPop) |
| Performs calculations before any DBHs have been changed. More...
|
|
growthType | GetGrowthMethod () |
| Gets the method by which this behavior increments growth. More...
|
|
clGrowthOrg * | GetGrowthOrg () |
| Get the growth org object. More...
|
|
void | RegisterTreeDataMembers () |
| Performs data member registrations for "Growth". More...
|
|
virtual float | GetBehaviorVersion () |
| Gets the behavior version number. More...
|
|
| clBehaviorBase (clSimManager *p_oSimManager) |
| Constructor. More...
|
|
virtual | ~clBehaviorBase () |
| Destructor. More...
|
|
virtual short int | ValidateVersionNumber (float fTestVersion) |
| Makes sure that the version number of a file passed is between the minimum and current version numbers. More...
|
|
virtual void | SetSpeciesTypeCombos (short int iNumCombos, stcSpeciesTypeCombo *p_whatCombos) |
| Sets the species/type combos for a behavior. More...
|
|
virtual void | SetNameData (std::string sNameString) |
| Sets the string for the parameter file behavior. More...
|
|
virtual short int | GetNewTreeInts () |
| Gets the number of new tree integer data members this behavior wants to register. More...
|
|
virtual short int | GetNewTreeFloats () |
| Gets the number of new tree float data members this behavior wants to register. More...
|
|
virtual short int | GetNewTreeChars () |
| Gets the number of new tree character data members this behavior wants to register. More...
|
|
virtual short int | GetNewTreeBools () |
| Gets the number of new tree bool data members this behavior wants to register. More...
|
|
virtual short int | GetNumSpeciesTypeCombos () |
| Gets the number of species/type combos to which this behavior applies. More...
|
|
virtual short int | GetNumBehaviorSpecies () |
| Gets the number of unique tree species to which this behavior applies. More...
|
|
struct stcSpeciesTypeCombo | GetSpeciesTypeCombo (short int iIndex) |
| Gets one of this behavior's type/species combos. More...
|
|
virtual short int | GetBehaviorSpecies (short int iIndex) |
| Gets one of the behavior's species. More...
|
|
short int | GetBehaviorListNumber () |
| Gets the behavior list number for this behavior, which differentiates between multiple copies of the behavior in the behavior list. More...
|
|
void | SetBehaviorListNumber (short int iNumber) |
| Sets the behavior list number for this behavior, which differentiates between multiple copies of the behavior in the behavior list. More...
|
|
std::string | FormatSpeciesTypeQueryString () |
| Formats the string for species/types query. More...
|
|
virtual DOMElement * | GetParentParametersElement (xercesc::DOMDocument *p_oDoc) |
| This will get the correct set of parameters for this behavior based on the behavior list position number. More...
|
|
| clWorkerBase (clSimManager *p_oSimManager) |
| Constructor. More...
|
|
virtual | ~clWorkerBase () |
| Destructor. More...
|
|
std::string | GetName () |
| Gets the object's namestring. More...
|
|
clSimManager * | GetSimManager () |
|
void | DoObjectSetup (xercesc::DOMDocument *p_oDoc, fileType iFileType) |
| Triggers the setup process. More...
|
|
virtual void | TimestepCleanup () |
| Performs any necessary cleanup operations at the end of a timestep. More...
|
|
virtual void | EndOfRunCleanup () |
| Performs any necessary cleanup operations at the end of a run. More...
|
|
Increments height growth according to a lognormal equation, with the possibility of two sets of parameters for each species.
The two sets of parameters can be used for two different growth rates at high and low light. This behavior can only be used to create a height growth increment.
The equation used in this behavior is:
Y = MG * exp(0.5 * (ln(H/X0)/Xb)2) where
-
Y = height growth in m/year
-
MG = max growth
-
X0 = parameter
-
Xb = parameter
-
H = tree's height in m
This behavior can also take into account light levels coming from the "Storm
Light" grid object produced by clStormLight. This behavior can use two different sets of parameter values - one at low light and one at high light. The user sets the threshold between the two. The equation remains the same.
The name string is "logbilevelgrowthshell". The parameter file call string is "LogBilevelGrowth height only".
Copyright 2011 Charles D. Canham.
- Author
- Lora E. Murphy
Edit history:
--------------—
October 20, 2011 - Wiped the slate clean for SORTIE 7.0 (LEM)
float clLogBiLevelGrowth::CalcHeightGrowthValue |
( |
clTree * |
p_oTree, |
|
|
clTreePopulation * |
p_oPop, |
|
|
float |
fDiameterGrowth |
|
) |
| |
|
virtual |
Calculates the amount of height growth increase for a particular tree using the lognormal growth equation.
If the light grid is present, this retrieves the light level in the tree's grid cell. If it is above the threshold, the high-light parameters are used. If it is below the threshold, the low-light parameters are used. If the light grid is not present, the low-light parameters are used.
- Parameters
-
p_oTree | Tree for which to calculate growth. |
p_oPop | Tree population object, just in case it's needed. |
fDiameterGrowth | Diameter growth, in cm. |
- Returns
- Amount, in m, by which to increase the tree's height.
Reimplemented from clGrowthBase.