SORTIE Core C++ Documentation
|
This returns the temperature effect using a Weibull function. More...
#include <TemperatureEffectWeibull.h>
Public Member Functions | |
clTemperatureEffectWeibull () | |
Constructor. More... | |
~clTemperatureEffectWeibull () | |
Destructor. More... | |
double | CalculateTemperatureEffect (clPlot *p_oPlot, int iSpecies) |
Calculates temperature effect for a particular species. More... | |
void | DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, xercesc::DOMElement *p_oElement) |
Does any desired setup. More... | |
Public Member Functions inherited from clTemperatureEffectBase | |
clTemperatureEffectBase () | |
Constructor. More... | |
virtual | ~clTemperatureEffectBase () |
Destructor. More... | |
bool | DoesRequireTargetDiam () |
Protected Attributes | |
double * | mp_fTempA |
Temperature effect A. More... | |
double * | mp_fTempB |
Temperature effect B. More... | |
double * | mp_fTempC |
Temperature effect C. More... | |
Protected Attributes inherited from clTemperatureEffectBase | |
bool | bRequiresTargetDiam |
Whether or not this effect depends on a target diameter being available. More... | |
This returns the temperature effect using a Weibull function.
The function is:
Temperature Effect = exp(-0.5*(abs(temp - C)/A)B)
where:
Copyright 2013 Charles D. Canham.
Edit history:
--------------—
June 13, 2013 - Created for transferal of Weibull Climate Growth to the NCI framework (LEM)
clTemperatureEffectWeibull::clTemperatureEffectWeibull | ( | ) |
Constructor.
clTemperatureEffectWeibull::~clTemperatureEffectWeibull | ( | ) |
Destructor.
|
virtual |
Calculates temperature effect for a particular species.
p_oPlot | Plot object for querying for temperature values. |
iSpecies | Species for which to calculate temperature effect. |
Implements clTemperatureEffectBase.
|
virtual |
Does any desired setup.
p_oPop | Tree population. |
p_oNCI | NCI behavior object. |
p_oElement | Root element of the behavior. |
ModelException | if Storm Effect parameters are not between 0 and 1. |
Implements clTemperatureEffectBase.
|
protected |
Temperature effect A.
Array is sized number of species.
|
protected |
Temperature effect B.
Array is sized number of species.
|
protected |
Temperature effect C.
Array is sized number of species.