SORTIE Core C++ Documentation
Public Member Functions | List of all members
clSizeEffectNone Class Reference

Class that provides no size effect (value of 1). More...

#include <SizeEffectNone.h>

Inheritance diagram for clSizeEffectNone:
clSizeEffectBase

Public Member Functions

double CalculateSizeEffect (clTree *p_oTree, const float &fDiam)
 Calculates size effect. More...
 
void DoSetup (clTreePopulation *p_oPop, clBehaviorBase *p_oNCI, xercesc::DOMElement *p_oElement)
 Does any desired setup. More...
 
- Public Member Functions inherited from clSizeEffectBase
virtual void PreCalcs (clTreePopulation *p_oPop)
 Performs calculations like either clGrowthBase::PreGrowthCalcs or clMortalityBase::PreMortCalcs. More...
 
virtual ~clSizeEffectBase ()
 Destructor. More...
 

Detailed Description

Class that provides no size effect (value of 1).

Member Function Documentation

◆ CalculateSizeEffect()

double clSizeEffectNone::CalculateSizeEffect ( clTree p_oTree,
const float &  fDiam 
)
inlinevirtual

Calculates size effect.

Parameters
p_oTreeTree for which to calculate size effect.
fDiamDiameter of tree. Diameter at 10 cm for seedlings, DBH for all other types. This can be got from the tree but it's already been extracted so let's pass it in.

Implements clSizeEffectBase.

◆ DoSetup()

void clSizeEffectNone::DoSetup ( clTreePopulation p_oPop,
clBehaviorBase p_oNCI,
xercesc::DOMElement *  p_oElement 
)
inlinevirtual

Does any desired setup.

Parameters
p_oPopTree population.
p_oNCINCI behavior object.
p_oElementRoot element of the behavior.

Implements clSizeEffectBase.


The documentation for this class was generated from the following file: