|
SORTIE Core C++ Documentation
|
This implements the default shading effect. More...
#include <ShadingEffectDefault.h>
Public Member Functions | |
| clShadingEffectDefault () | |
| Constructor. More... | |
| ~clShadingEffectDefault () | |
| Destructor. More... | |
| double | CalculateShadingEffect (clTree *p_oTree) |
| Calculates shading effect. More... | |
| void | DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, xercesc::DOMElement *p_oElement) |
| Does any desired setup. More... | |
Public Member Functions inherited from clShadingEffectBase | |
| virtual | ~clShadingEffectBase () |
| Destructor. More... | |
| virtual void | PreCalcs (clTreePopulation *p_oPop) |
| Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs. More... | |
Protected Attributes | |
| short int ** | mp_iLightCodes |
| Holds return data codes for the "Light" tree data member. More... | |
| double * | mp_fShadingCoefficient |
| Shading coefficient in Shading Effect equation. More... | |
| double * | mp_fShadingExponent |
| Shading exponent in Shading Effect equation. More... | |
| int | m_iNumberTotalSpecies |
| Number of total species. More... | |
This implements the default shading effect.
Shading effect is calculated as follows:
where:
| clShadingEffectDefault::clShadingEffectDefault | ( | ) |
Constructor.
| clShadingEffectDefault::~clShadingEffectDefault | ( | ) |
Destructor.
|
virtual |
Calculates shading effect.
| p_oTree | Tree for which to calculate shading effect. |
Implements clShadingEffectBase.
|
virtual |
Does any desired setup.
| p_oPop | Tree population. |
| p_oNCI | NCI behavior object. |
| p_oElement | Root element of the behavior. |
| ModelException | if any species does not have a light behavior assigned (has data member "Light" registered). |
Implements clShadingEffectBase.
|
protected |
Number of total species.
For the destructor.
|
protected |
Shading coefficient in Shading Effect equation.
Array is sized number of species.
|
protected |
Shading exponent in Shading Effect equation.
Array is sized number of species.
|
protected |
Holds return data codes for the "Light" tree data member.
Array size is number of species by number of types.
1.8.13