clDensitySelfThinningGompertz Class Reference

Gompertz Density Self Thinning - Version 1.0. More...

#include <DensitySelfThinningGompertz.h>

Inheritance diagram for clDensitySelfThinningGompertz:

clMortalityBase clBehaviorBase clWorkerBase

List of all members.

Public Member Functions

 clDensitySelfThinningGompertz (clSimManager *p_oSimManager)
 Constructor.
 ~clDensitySelfThinningGompertz ()
 Destructor.
void DoShellSetup (xercesc::DOMDocument *p_oDoc)
 Reads in values from the parameter file and makes sure all data needed is collected.
float CalculateNeighborhoodTreeCount (clTree *p_oTree)
 Calculates the number of conspecific neighborhood trees.
deadCode DoMort (clTree *p_oTree, const float &fDbh, const short int &iSpecies)
 Calculates mortality according to the Gompertz equation.

Protected Attributes

float * mp_fG
 G parameter.
float * mp_fH
 H parameter.
float * mp_fI
 I parameter.
float * mp_fMinHeight
 Minimum height for neighborhood trees.
short int * mp_iIndexes
 Speeds access to the arrays.
float m_fRadius
 Radius that defines the neighborhood size (meters).
float m_fNumberYearsPerTimestep
 Number of years per timestep.


Detailed Description

Gompertz Density Self Thinning - Version 1.0.

This behavior evaluates mortality according to the density of conspecific trees in the neigborhood. The function is:

pm = g * exp(-exp(h - i * Den))

where pm is probability of mortality, and Den is neighborhood tree density in stems/m2. The target tree is deliberately counted.

This class's namestring is "densitygompertzmortshell".

This class's parameter file call string is "Gompertz Density Self Thinning".

Copyright 2010 Charles D. Canham.


Edit history:
-----------------
January 19, 2010 - Created (LEM)


Constructor & Destructor Documentation

clDensitySelfThinningGompertz::clDensitySelfThinningGompertz ( clSimManager p_oSimManager  ) 

Constructor.

Sets the namestring.

clDensitySelfThinningGompertz::~clDensitySelfThinningGompertz (  ) 

Destructor.


Member Function Documentation

void clDensitySelfThinningGompertz::DoShellSetup ( xercesc::DOMDocument *  p_oDoc  )  [virtual]

Reads in values from the parameter file and makes sure all data needed is collected.

Parameters:
p_oDoc Parsed DOM tree of parameter file.
Exceptions:
modelErr if the neighborhood radius is not greater than 0.

Reimplemented from clMortalityBase.

float clDensitySelfThinningGompertz::CalculateNeighborhoodTreeCount ( clTree p_oTree  ) 

Calculates the number of conspecific neighborhood trees.

Parameters:
p_oTree Tree being evaluated.
Returns:
fTreeCount Variable into which to place the number of neighborhood trees.

deadCode clDensitySelfThinningGompertz::DoMort ( clTree p_oTree,
const float &  fDbh,
const short int &  iSpecies 
) [virtual]

Calculates mortality according to the Gompertz equation.

Parameters:
p_oTree Tree being evaluated.
fDbh DBH of tree being evaluated.
iSpecies Species of the tree being evaluated.
Returns:
natural if the tree is to die, notdead if it lives.

Implements clMortalityBase.


Member Data Documentation

G parameter.

H parameter.

I parameter.

Minimum height for neighborhood trees.

Speeds access to the arrays.

Radius that defines the neighborhood size (meters).

Number of years per timestep.


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

Generated on Tue Apr 19 13:56:08 2011 for SORTIE Core C++ Documentation by  doxygen 1.5.6