#include <ConstantGLI.h>
Inheritance diagram for clConstantGLI:
Public Member Functions | |
clConstantGLI (clSimManager *p_oSimManager) | |
Constructor. | |
float | CalcLightValue (clTree *p_oTree, clTreePopulation *p_oPop) |
Gets the GLI for a tree. | |
void | DoShellSetup (xercesc::DOMDocument *p_oDoc) |
Reads the parameter file for the GLI value. | |
Protected Attributes | |
float | m_fGLI |
GLI value. |
This behavior assigns a constant GLI value to all trees to which it has been assigned.
The namestring for this behavior is "constglilightshell". The parameter file call string is "Constant GLI".
Copyright 2006 Charles D. Canham.
clConstantGLI::clConstantGLI | ( | clSimManager * | p_oSimManager | ) |
Constructor.
p_oSimManager | Sim Manager object. |
float clConstantGLI::CalcLightValue | ( | clTree * | p_oTree, | |
clTreePopulation * | p_oPop | |||
) | [inline, virtual] |
Gets the GLI for a tree.
p_oTree | Tree for which to get GLI. | |
p_oPop | Tree population object. |
Implements clLightBase.
void clConstantGLI::DoShellSetup | ( | xercesc::DOMDocument * | p_oDoc | ) | [virtual] |
Reads the parameter file for the GLI value.
p_oDoc | DOM tree of parsed input file. |
modelErr | if the GLI parameter is not between 0 and 100. |
Reimplemented from clLightBase.
float clConstantGLI::m_fGLI [protected] |
GLI value.