|
SORTIE Core C++ Documentation
|
This class calculates a crowding effect using the default function. More...
#include <CrowdingEffectDefault.h>
Public Member Functions | |
| clCrowdingEffectDefault () | |
| Constructor. More... | |
| ~clCrowdingEffectDefault () | |
| Destructor. More... | |
| double | CalculateCrowdingEffect (clTree *p_oTree, const float &fDiam, const clNCITermBase::ncivals nci, const int &iSpecies) |
| Calculates crowding effect. More... | |
| void | DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, clNCIBehaviorBase *p_oNCIBase, xercesc::DOMElement *p_oElement) |
| Does setup. More... | |
Public Member Functions inherited from clCrowdingEffectBase | |
| clCrowdingEffectBase () | |
| Constructor. More... | |
| virtual | ~clCrowdingEffectBase () |
| Destructor. More... | |
| virtual void | PreCalcs (clTreePopulation *p_oPop) |
| Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs. More... | |
| bool | DoesRequireTargetDiam () |
Protected Attributes | |
| double * | mp_fC |
| Crowding effect slope. More... | |
| double * | mp_fD |
| Crowding effect steepness. More... | |
| double * | mp_fGamma |
| Size sensitivity to NCI parameter. More... | |
Protected Attributes inherited from clCrowdingEffectBase | |
| bool | m_bRequiresTargetDiam |
| Whether or not this effect depends on a target diameter being available. More... | |
| bool | m_b2ValNCI |
| Whether it's a two-value NCI. More... | |
This class calculates a crowding effect using the default function.
Crowding effect is calculated as follows:
Alternately, this can use NCI behaviors returning 2 values, in which case the format is
| clCrowdingEffectDefault::clCrowdingEffectDefault | ( | ) |
Constructor.
| clCrowdingEffectDefault::~clCrowdingEffectDefault | ( | ) |
Destructor.
|
virtual |
Calculates crowding effect.
| p_oTree | Tree for which to calculate crowding effect. |
| fDiam | Diameter of tree. |
| nci | NCI term. |
| iSpecies | Species for which to calculate effect. |
Implements clCrowdingEffectBase.
|
virtual |
Does setup.
| p_oPop | Tree population. |
| p_oNCI | NCI behavior object. |
| p_oNCIBase | NCI parent behavior object. |
| p_oElement | Root element of the behavior. |
Implements clCrowdingEffectBase.
|
protected |
Crowding effect slope.
C in Crowding Effect equation above. Array sized number of species.
|
protected |
Crowding effect steepness.
D in Crowding Effect equation above. Array sized number of species.
|
protected |
Size sensitivity to NCI parameter.
γ in Crowding Effect equation above. Array sized number of species.
1.8.13