#include <DensitySelfThinningGompertz.h>

Public Member Functions | |
| clDensitySelfThinningGompertz (clSimManager *p_oSimManager) | |
| Constructor. | |
| ~clDensitySelfThinningGompertz () | |
| Destructor. | |
| void | DoShellSetup (xercesc::DOMDocument *p_oDoc) |
| Reads in values from the parameter file and makes sure all data needed is collected. | |
| float | CalculateNeighborhoodTreeCount (clTree *p_oTree) |
| Calculates the number of conspecific neighborhood trees. | |
| deadCode | DoMort (clTree *p_oTree, const float &fDbh, const short int &iSpecies) |
| Calculates mortality according to the Gompertz equation. | |
Protected Attributes | |
| float * | mp_fG |
| G parameter. | |
| float * | mp_fH |
| H parameter. | |
| float * | mp_fI |
| I parameter. | |
| float * | mp_fMinHeight |
| Minimum height for neighborhood trees. | |
| short int * | mp_iIndexes |
| Speeds access to the arrays. | |
| float | m_fRadius |
| Radius that defines the neighborhood size (meters). | |
| float | m_fNumberYearsPerTimestep |
| Number of years per timestep. | |
This behavior evaluates mortality according to the density of conspecific trees in the neigborhood. The function is:
pm = g * exp(-exp(h - i * Den))
where pm is probability of mortality, and Den is neighborhood tree density in stems/m2. The target tree is deliberately counted.
This class's namestring is "densitygompertzmortshell".
This class's parameter file call string is "Gompertz Density Self Thinning".
Copyright 2010 Charles D. Canham.
Edit history:
-----------------
January 19, 2010 - Created (LEM)
| clDensitySelfThinningGompertz::clDensitySelfThinningGompertz | ( | clSimManager * | p_oSimManager | ) |
Constructor.
Sets the namestring.
| clDensitySelfThinningGompertz::~clDensitySelfThinningGompertz | ( | ) |
Destructor.
| void clDensitySelfThinningGompertz::DoShellSetup | ( | xercesc::DOMDocument * | p_oDoc | ) | [virtual] |
Reads in values from the parameter file and makes sure all data needed is collected.
| p_oDoc | Parsed DOM tree of parameter file. |
| modelErr | if the neighborhood radius is not greater than 0. |
Reimplemented from clMortalityBase.
| float clDensitySelfThinningGompertz::CalculateNeighborhoodTreeCount | ( | clTree * | p_oTree | ) |
Calculates the number of conspecific neighborhood trees.
| p_oTree | Tree being evaluated. |
| deadCode clDensitySelfThinningGompertz::DoMort | ( | clTree * | p_oTree, | |
| const float & | fDbh, | |||
| const short int & | iSpecies | |||
| ) | [virtual] |
Calculates mortality according to the Gompertz equation.
| p_oTree | Tree being evaluated. | |
| fDbh | DBH of tree being evaluated. | |
| iSpecies | Species of the tree being evaluated. |
Implements clMortalityBase.
float* clDensitySelfThinningGompertz::mp_fG [protected] |
G parameter.
float* clDensitySelfThinningGompertz::mp_fH [protected] |
H parameter.
float* clDensitySelfThinningGompertz::mp_fI [protected] |
I parameter.
float* clDensitySelfThinningGompertz::mp_fMinHeight [protected] |
Minimum height for neighborhood trees.
short int* clDensitySelfThinningGompertz::mp_iIndexes [protected] |
Speeds access to the arrays.
float clDensitySelfThinningGompertz::m_fRadius [protected] |
Radius that defines the neighborhood size (meters).
float clDensitySelfThinningGompertz::m_fNumberYearsPerTimestep [protected] |
Number of years per timestep.
1.5.6