SORTIE Core C++ Documentation
|
This returns the infection effect using the function:
Infection Effect = [a * ln(T) + b] * exp(-0.5*[( ((DBH-Xp)/X0) / Xb)^2]
where:
More...
#include <InfectionEffectSizeDependent.h>
Public Member Functions | |
clInfectionEffectSizeDependent () | |
Constructor. More... | |
~clInfectionEffectSizeDependent () | |
Destructor. More... | |
double | CalculateInfectionEffect (clTree *p_oTree) |
Calculates infection effect for a particular species. More... | |
void | DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, xercesc::DOMElement *p_oElement) |
Does setup. More... | |
Public Member Functions inherited from clInfectionEffectBase | |
clInfectionEffectBase () | |
Constructor. More... | |
virtual | ~clInfectionEffectBase () |
Destructor. More... | |
bool | DoesRequireTargetDiam () |
virtual void | PreCalcs (clTreePopulation *p_oPop) |
Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs. More... | |
Protected Attributes | |
short int ** | mp_iYearsInfestedCodes |
Return codes for the "YearsInfested" int tree data member. More... | |
short int ** | mp_iDiamCodes |
Return codes for diameter. More... | |
double * | mp_fA |
Infection effect a. More... | |
double * | mp_fB |
Infection effect b. More... | |
double * | mp_fX0 |
Infection effect X0. More... | |
double * | mp_fXb |
Infection effect Xb. More... | |
double * | mp_fXp |
Infection effect Xp. More... | |
int | m_iTotalNumSpecies |
Total number of species. More... | |
Protected Attributes inherited from clInfectionEffectBase | |
bool | bRequiresTargetDiam |
Whether or not this effect depends on a target diameter being available. More... | |
This returns the infection effect using the function:
Infection Effect = [a * ln(T) + b] * exp(-0.5*[( ((DBH-Xp)/X0) / Xb)^2]
where:
Copyright 2014 Charles D. Canham.
Edit history:
--------------—
June 9, 201 - Created (LEM)
clInfectionEffectSizeDependent::clInfectionEffectSizeDependent | ( | ) |
Constructor.
clInfectionEffectSizeDependent::~clInfectionEffectSizeDependent | ( | ) |
Destructor.
|
virtual |
Calculates infection effect for a particular species.
p_oTree | Tree for which to calculate infection effect. |
Implements clInfectionEffectBase.
|
virtual |
Does setup.
p_oPop | Tree population. |
p_oNCI | NCI behavior object. |
p_oElement | Root element of the behavior. |
ModelException | if there is a tree to which this behavior applies that does not have a "YearsInfested" code. |
Implements clInfectionEffectBase.
|
protected |
Total number of species.
Primarily for the destructor.
|
protected |
Infection effect a.
Array is sized number of species.
|
protected |
Infection effect b.
Array is sized number of species.
|
protected |
Infection effect X0.
Array is sized number of species.
|
protected |
Infection effect Xb.
Array is sized number of species.
|
protected |
Infection effect Xp.
Array is sized number of species.
|
protected |
Return codes for diameter.
Array index one is sized m_iTotalNumSpecies; array index two is sized number of total types.
|
protected |
Return codes for the "YearsInfested" int tree data member.
Array index one is sized m_iTotalNumSpecies; array index two is sized number of total types.