#include <HeightGLIWeibullMortality.h>
Inheritance diagram for clHeightLGLIWeibullMortality:
Public Member Functions | |
clHeightLGLIWeibullMortality (clSimManager *p_oSimManager) | |
Constructor. | |
~clHeightLGLIWeibullMortality () | |
Destructor. | |
void | DoShellSetup (xercesc::DOMDocument *p_oDoc) |
Reads in values from the parameter file, then calls GetTreeDataMemberCodes(). | |
bool | DoMort (clTree *p_oTree, const float &fDbh, const short int &iSpecies) |
Calculates mortality according to the equation above. | |
Protected Member Functions | |
void | GetTreeDataMemberCodes () |
Queries for the return codes of the "Light" and "Height" tree data members. | |
Protected Attributes | |
short int ** | mp_iLightCodes |
Return codes for the "Light" tree float data member variable. | |
short int ** | mp_iHeightCodes |
Return codes for the "Height" tree float data member variable. | |
float * | mp_fA |
Mortality "a" parameter - sized number of behavior species. | |
float * | mp_fB |
Mortality "b" parameter - sized number of behavior species. | |
float * | mp_fC |
Mortality "c" parameter - sized number of behavior species. | |
float * | mp_fD |
Mortality "d" parameter - sized number of behavior species. | |
int * | mp_iIndexes |
To help access the other arrays. | |
float | m_fYearsPerTimestep |
Number of years per timestep - for converting probabilities for multi- year timesteps. |
This evaluates mortality according to a weibull function of tree height and GLI.
The equation used in this behavior is:
This class's namestring is "height gli weibull mortshell". The parameter file call string is "Height GLI Weibull Mortality".
Copyright 2006 Charles D. Canham.
|
Constructor.
|
|
Calculates mortality according to the equation above. Then uses a random number to decide if a tree dies.
Implements clMortalityBase. |
|
Reads in values from the parameter file, then calls GetTreeDataMemberCodes().
Reimplemented from clMortalityBase. |
|
Queries for the return codes of the "Light" and "Height" tree data members. "Light" should have been registered by clLightBase objects. Return codes are captured in the mp_iLightCodes and mp_iHeightCodes arrays.
|
|
Return codes for the "Height" tree float data member variable. Array size is number of species to which this behavior applies by number of types |
|
Return codes for the "Light" tree float data member variable. Array size is number of species to which this behavior applies by number of types |