#include <RelativeGrowth.h>
Inheritance diagram for clRelativeGrowth:
Public Member Functions | |
clRelativeGrowth (clSimManager *p_oSimManager) | |
Constructor. | |
~clRelativeGrowth () | |
Destructor. | |
float | CalcDiameterGrowthValue (clTree *p_oTree, clTreePopulation *p_oPop, float fHeightGrowth) |
Applies growth as described in the equation above. | |
void | SetNameData (char *cNameString) |
Captures the behavior name passed from the parameter file. | |
void | DoShellSetup (xercesc::DOMDocument *p_oDoc) |
Does setup. | |
Protected Attributes | |
float * | mp_fDiamExp |
Diameter exponent - array size is number of species. | |
float | m_fNumberYearsPerTimestep |
Number of years per timestep - from sim manager. |
This is a growth shell object which applies the Michaelis-Menton function to find relative growth.
The growth equation is:
The actual amount of new growth is:
(There are some strangenesses in the math - 1s are added and subtracted at various times and I don't know why. This is based on code I didn't originally write.)
The growth may be limited to a max of the adult constant area increment or the adult constant radial increment (see clConstantRadialGrowth and clConstantBAGrowth for more on how these increments are calculated and applied).
An object of this class can be created by the strings "relradial", "relba", and "relunlim", representing relative growth limited by constant radial increment, relative growth limited by constant basal area increment, and unlimited relative growth, respectively.
The namestring for this class is "relativegrowthshell". It is probable that there will be more than one object of this class created.
Copyright 2003 Charles D. Canham.
|
Constructor. Sets the namestring.
|
|
Applies growth as described in the equation above.
Reimplemented from clGrowthBase. |
|
Does setup. Reads in values from the parameter file,, and validates that all species/type combos use light (each must have "Light" registered).
Reimplemented from clGrowthBase. |
|
Captures the behavior name passed from the parameter file. This is useful since this class can produce a few different kinds of behaviors.
Reimplemented from clBehaviorBase. |