#include <BCMort.h>
Inheritance diagram for clBCMort:
Public Member Functions | |
clBCMort (clSimManager *p_oSimManager) | |
Constructor. | |
~clBCMort () | |
Destructor. | |
void | DoShellSetup (xercesc::DOMDocument *p_oDoc) |
Reads in values from the parameter file and makes sure all data needed is collected. | |
bool | DoMort (clTree *p_oTree, const float &fDbh, const short int &iSpecies) |
Calculates mortality according to the BC mortality equation. | |
Protected Member Functions | |
void | GetGrowthVariableCodes () |
Queries for the return codes of the "Growth" float data member of a tree. | |
Protected Attributes | |
short int ** | mp_iGrowthCodes |
data member codes for "Growth" member - species by type | |
float * | mp_fMortAtZeroGrowth |
Mortality at zero growth - old code m1. | |
float * | mp_fLightDepMort |
Light dependent mortality - old code m2. | |
float | m_fNumberYearsPerTimestep |
Number of years per timestep. |
This evaluates mortality according to the BC mortality equation.
This class's namestring is "bcmortshell".
NOTE from old code: mortality function in Kobe&Coates(1997) uses annual mm growth new function is not correct if m1 != 1.0 (Confirm this statement)
Copyright 2003 Charles D. Canham.
|
Constructor. Sets the namestring. |
|
Calculates mortality according to the BC mortality equation.
Implements clMortalityBase. |
|
Reads in values from the parameter file and makes sure all data needed is collected.
Reimplemented from clMortalityBase. |
|
Queries for the return codes of the "Growth" float data member of a tree. This data member should have been registered by clGrowthBase child classes. Return codes are captured in the mp_iGrowthCodes array.
|