SORTIE Core C++ Documentation
|
Calculates a size effect based on a shifted lognormal function. More...
#include <SizeEffectShiftedLognormal.h>
Public Member Functions | |
clSizeEffectShiftedLognormal () | |
Constructor. More... | |
~clSizeEffectShiftedLognormal () | |
Destructor. More... | |
double | CalculateSizeEffect (clTree *p_oTree, const float &fDiam) |
Calculates size effect. More... | |
void | DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, xercesc::DOMElement *p_oElement) |
Does any desired setup. More... | |
Public Member Functions inherited from clSizeEffectBase | |
virtual void | PreCalcs (clTreePopulation *p_oPop) |
Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs. More... | |
virtual | ~clSizeEffectBase () |
Destructor. More... | |
Protected Attributes | |
double * | mp_fXb |
Size effect variance parameter. More... | |
double * | mp_fX0 |
Size effect mode parameter. More... | |
double * | mp_fXp |
Size effect shift parameter. More... | |
double * | mp_fMinDiam |
Size effect minimum diameter. More... | |
Calculates a size effect based on a shifted lognormal function.
Size Effect is calculated as:
where:
clSizeEffectShiftedLognormal::clSizeEffectShiftedLognormal | ( | ) |
Constructor.
clSizeEffectShiftedLognormal::~clSizeEffectShiftedLognormal | ( | ) |
Destructor.
|
virtual |
Calculates size effect.
This is bounded between 0 and 1.
p_oTree | Tree for which to calculate size effect. |
fDiam | Diameter of tree. Diameter at 10 cm for seedlings, DBH for all other types. |
Implements clSizeEffectBase.
|
virtual |
Does any desired setup.
p_oPop | Tree population. |
p_oNCI | NCI behavior object. |
p_oElement | Root element of the behavior. |
ModelException | if X0 is < 0 or Xb = 0. |
Implements clSizeEffectBase.
|
protected |
Size effect minimum diameter.
Array is sized number of species.
|
protected |
Size effect mode parameter.
X0 in Size Effect equation above. Array is sized number of species.
|
protected |
Size effect variance parameter.
Xb in Size Effect equation above. Array is sized number of species.
|
protected |
Size effect shift parameter.
Xp in Size Effect equation above. Array is sized number of species.