SORTIE Core C++ Documentation
|
Provides a base for objects that calculate a size effect. More...
#include <SizeEffectBase.h>
Public Member Functions | |
virtual float | CalculateSizeEffect (int iSpecies, float fDiam)=0 |
Calculates size effect. | |
virtual void | DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, xercesc::DOMElement *p_oElement)=0 |
Does any desired setup. | |
virtual void | PreCalcs (clTreePopulation *p_oPop) |
Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs. | |
virtual | ~clSizeEffectBase () |
Destructor. | |
Provides a base for objects that calculate a size effect.
The default is that objects descended from this class can handle any tree type. If this is not the case, child objects must throw the appropriate error during setup.
|
inlinevirtual |
Destructor.
|
pure virtual |
Calculates size effect.
iSpecies | Species of tree. |
fDiam | Diameter of tree. Diameter at 10 cm for seedlings, DBH for all other types. |
Implemented in clSizeEffectLowerBounded, clSizeEffectPowerFunction, clSizeEffectShiftedLognormal, clSizeEffectDefault, clSizeEffectCompoundExponential, and clSizeEffectNone.
|
pure virtual |
Does any desired setup.
p_oPop | Tree population. |
p_oNCI | NCI behavior object. |
p_oElement | Root element of the behavior. |
Implemented in clSizeEffectLowerBounded, clSizeEffectPowerFunction, clSizeEffectShiftedLognormal, clSizeEffectDefault, clSizeEffectCompoundExponential, and clSizeEffectNone.
|
inlinevirtual |
Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs.