SORTIE Core C++ Documentation
|
This returns the nitrogen effect using a gaussian function. More...
#include <NitrogenEffectGaussian.h>
Public Member Functions | |
clNitrogenEffectGaussian () | |
Constructor. More... | |
~clNitrogenEffectGaussian () | |
Destructor. More... | |
double | CalculateNitrogenEffect (clPlot *p_oPlot, int iSpecies) |
Calculates nitrogen effect for a particular species. More... | |
void | DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, xercesc::DOMElement *p_oElement) |
Does setup. More... | |
Public Member Functions inherited from clNitrogenEffectBase | |
clNitrogenEffectBase () | |
Constructor. More... | |
virtual | ~clNitrogenEffectBase () |
Destructor. More... | |
bool | DoesRequireTargetDiam () |
Protected Attributes | |
double * | mp_fX0 |
Nitrogen effect X0. More... | |
double * | mp_fXb |
Nitrogen effect Xb. More... | |
Protected Attributes inherited from clNitrogenEffectBase | |
bool | bRequiresTargetDiam |
Whether or not this effect depends on a target diameter being available. More... | |
This returns the nitrogen effect using a gaussian function.
The function is:
Nitrogen Effect = exp(-0.5*((NDEP - X0) / Xb)2)
where:
Copyright 2013 Charles D. Canham.
Edit history:
--------------—
June 27, 2013 - Created (LEM)
clNitrogenEffectGaussian::clNitrogenEffectGaussian | ( | ) |
Constructor.
clNitrogenEffectGaussian::~clNitrogenEffectGaussian | ( | ) |
Destructor.
|
virtual |
Calculates nitrogen effect for a particular species.
p_oPlot | Plot object for querying for nitrogen values. |
iSpecies | Species for which to calculate nitrogen effect. |
Implements clNitrogenEffectBase.
|
virtual |
Does setup.
p_oPop | Tree population. |
p_oNCI | NCI behavior object. |
p_oElement | Root element of the behavior. |
Implements clNitrogenEffectBase.
|
protected |
Nitrogen effect X0.
Array is sized number of species.
|
protected |
Nitrogen effect Xb.
Array is sized number of species.