SORTIE Core C++ Documentation
|
Provides a base for objects that calculate a precipitation effect. More...
#include <PrecipitationEffectBase.h>
Public Types | |
enum | precipType { mean_precip, seasonal_precip, water_deficit } |
Precipitation type. More... | |
Public Member Functions | |
clPrecipitationEffectBase () | |
Constructor. More... | |
virtual | ~clPrecipitationEffectBase () |
Destructor. More... | |
virtual double | CalculatePrecipitationEffect (clPlot *p_oPlot, int iSpecies)=0 |
Calculates precipitation effect for a particular species. More... | |
virtual void | DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, xercesc::DOMElement *p_oElement)=0 |
Does any desired setup. More... | |
bool | DoesRequireTargetDiam () |
Protected Attributes | |
bool | bRequiresTargetDiam |
Whether or not this effect depends on a target diameter being available. More... | |
Provides a base for objects that calculate a precipitation effect.
|
inline |
Constructor.
Sets defaults.
|
inlinevirtual |
Destructor.
|
pure virtual |
Calculates precipitation effect for a particular species.
p_oPlot | Plot object for querying for precipitation values. |
iSpecies | Species for which to calculate precipitation effect. |
Implemented in clPrecipitationEffectDoubleLogistic, clPrecipitationEffectWeibull, and clPrecipitationEffectNone.
|
inline |
|
pure virtual |
Does any desired setup.
p_oPop | Tree population. |
p_oNCI | NCI behavior object. |
p_oElement | Root element of the behavior. |
Implemented in clPrecipitationEffectDoubleLogistic, clPrecipitationEffectWeibull, and clPrecipitationEffectNone.
|
protected |
Whether or not this effect depends on a target diameter being available.