#include <DensitySelfThinning.h>

Public Member Functions | |
| clDensitySelfThinning (clSimManager *p_oSimManager) | |
| Constructor. | |
| ~clDensitySelfThinning () | |
| Destructor. | |
| void | DoShellSetup (xercesc::DOMDocument *p_oDoc) |
| Reads in values from the parameter file and makes sure all data needed is collected. | |
| void | CalculateNeighborhoodTreeCountAndMeanDiam10 (clTree *p_oTree, float *p_fTreeCount, float *p_fMeanDiam10) |
| Calculates the number of neighborhood trees and their mean Diam10. | |
| deadCode | DoMort (clTree *p_oTree, const float &fDbh, const short int &iSpecies) |
| Calculates mortality according to the DensitySelfThinning equation. | |
Protected Attributes | |
| float | m_fNumberYearsPerTimestep |
| Number of years per timestep. | |
| float * | mp_fSelfThinRadius |
| Radius that defines the neighborhood size (meters). | |
| float * | mp_fMinDensityForMort |
| Minimum neighborhood density subject to mortality (trees/ha). | |
| float * | mp_fSelfThinAsymptote |
| Asymptote parameter. | |
| float * | mp_fSelfThinDiamEffect |
| Diameter effect parameter. | |
| float * | mp_fSelfThinDensityEffect |
| Density effect parameter. | |
| short int * | mp_iIndexes |
| Speeds access to the arrays. | |
This behavior evaluates seedling and sapling mortality according to the density and mean diam10 of a tree's neigborhood.
This class's namestring is "densityselfthinningmortshell".
This class's parameter file call string is "densityselfthinning".
Note (LEM): this behavior requires a 1-year timestep. There is no programmatic reason for this; this is what Rasmus wanted, as author, because he believes using this behavior with a multi-year timestep is not smart scientifically.
Copyright 2003 Charles D. Canham.
| clDensitySelfThinning::clDensitySelfThinning | ( | clSimManager * | p_oSimManager | ) |
Constructor.
Sets the namestring.
| clDensitySelfThinning::~clDensitySelfThinning | ( | ) |
Destructor.
| void clDensitySelfThinning::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:
|
Reimplemented from clMortalityBase.
| void clDensitySelfThinning::CalculateNeighborhoodTreeCountAndMeanDiam10 | ( | clTree * | p_oTree, | |
| float * | p_fTreeCount, | |||
| float * | p_fMeanDiam10 | |||
| ) |
Calculates the number of neighborhood trees and their mean Diam10.
| p_oTree | Tree being evaluated. | |
| p_fTreeCount | Variable into which to place the number of neighborhood trees. | |
| p_fMeanDiam10 | Variable into which to place the mean diam10 of the neighborhood trees. |
| deadCode clDensitySelfThinning::DoMort | ( | clTree * | p_oTree, | |
| const float & | fDbh, | |||
| const short int & | iSpecies | |||
| ) | [virtual] |
Calculates mortality according to the DensitySelfThinning equation.
| p_oTree | Tree being evaluated. | |
| fDbh | DBH of tree being evaluated. | |
| iSpecies | Species of the tree being evaluated. |
Implements clMortalityBase.
float clDensitySelfThinning::m_fNumberYearsPerTimestep [protected] |
Number of years per timestep.
float* clDensitySelfThinning::mp_fSelfThinRadius [protected] |
Radius that defines the neighborhood size (meters).
float* clDensitySelfThinning::mp_fMinDensityForMort [protected] |
Minimum neighborhood density subject to mortality (trees/ha).
float* clDensitySelfThinning::mp_fSelfThinAsymptote [protected] |
Asymptote parameter.
float* clDensitySelfThinning::mp_fSelfThinDiamEffect [protected] |
Diameter effect parameter.
float* clDensitySelfThinning::mp_fSelfThinDensityEffect [protected] |
Density effect parameter.
short int* clDensitySelfThinning::mp_iIndexes [protected] |
Speeds access to the arrays.
1.5.6