|
SORTIE Core C++ Documentation
|
This returns the infection effect using the function:
Infection Effect = a * ln(T) + b
where:
More...
#include <InfectionEffect.h>
Public Member Functions | |
| clInfectionEffect () | |
| Constructor. More... | |
| ~clInfectionEffect () | |
| 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... | |
| double * | mp_fA |
| Infection effect a. More... | |
| double * | mp_fB |
| Infection effect b. 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
where:
Copyright 2013 Charles D. Canham.
Edit history:
--------------—
November 1, 2013 - Created (LEM)
| clInfectionEffect::clInfectionEffect | ( | ) |
Constructor.
| clInfectionEffect::~clInfectionEffect | ( | ) |
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 |
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.
1.8.13