clSenescence Class Reference

Senescence - Version 1.0. More...

#include <SenescenceMort.h>

Inheritance diagram for clSenescence:

clMortalityBase clBehaviorBase clWorkerBase List of all members.

Public Member Functions

 clSenescence (clSimManager *p_oSimManager)
 Constructor.
 ~clSenescence ()
 Destructor.
void DoShellSetup (xercesc::DOMDocument *p_oDoc)
 Reads in values from the parameter file.
bool DoMort (clTree *p_oTree, const float &fDiam, const short int &iSpecies)
 Calculates mortality according to senescence.

Protected Member Functions

void CalculateMortalityProbability ()
 Calculates mortality probability for a given dbh out to the maximum.

Protected Attributes

floatValmp_fRandomAlpha
 Random mortality alpha, for calculating annual probability of death.
floatValmp_fRandomBeta
 Random mortality beta, for calculating annual probability of death.
floatValmp_fDbhAtOnset
 DBH at onset of senescence.
float ** mp_fMortProb
 Probability of death per timestep for each DBH value out to the maximum.
int m_iMaxDbh
 DBH of asymptotic maximum mortality.
short int m_iNumTotalSpecies
 Keep our own copy for the destructor.

Detailed Description

Senescence - Version 1.0.

This evaluates mortality due to senescence. The senescence equation is evaluated to determine the probability of death. The probability is applied to all trees to which senescence is assigned, but in practice death rate increases due to senescence don't kick in until the DBH at onset parameter is reached. Death rates rise until the asymptotic max DBH value is reached, after which they level off and don't rise further.

This cannot be assigned to seedlings.

This class's namestring is "senescencemortshell".

Copyright 2003 Charles D. Canham.

Author:
Lora E. Murphy

Edit history:
-----------------
April 28, 2004 - Submitted as beta (LEM)
May 5, 2004 - Fixed a bug computing multi-year timestep probability (LEM)


Constructor & Destructor Documentation

clSenescence::clSenescence clSimManager p_oSimManager  ) 
 

Constructor.

Parameters:
p_oSimManager Sim Manager object.


Member Function Documentation

void clSenescence::CalculateMortalityProbability  )  [protected]
 

Calculates mortality probability for a given dbh out to the maximum.

This probability will have the number of years per timestep already taken into account.

bool clSenescence::DoMort clTree p_oTree,
const float &  fDiam,
const short int &  iSpecies
[virtual]
 

Calculates mortality according to senescence.

Parameters:
fDiam DBH of tree being evaluated - for seedlings will be 0
p_oTree Tree being evaluated
iSpecies Species of the tree being evaluated
Returns:
True if the tree is to die, false if it lives.

Implements clMortalityBase.

void clSenescence::DoShellSetup xercesc::DOMDocument *  p_oDoc  )  [virtual]
 

Reads in values from the parameter file.

Parameters:
p_oDoc DOM tree of parsed input file.

Reimplemented from clMortalityBase.


Member Data Documentation

int clSenescence::m_iMaxDbh [protected]
 

DBH of asymptotic maximum mortality.

Defaults to 100

floatVal* clSenescence::mp_fDbhAtOnset [protected]
 

DBH at onset of senescence.

Old parameter elderlyMort. Array size is number of species to which this behavior applies.

float** clSenescence::mp_fMortProb [protected]
 

Probability of death per timestep for each DBH value out to the maximum.

Array of total number of species by m_iMaxDbh.

floatVal* clSenescence::mp_fRandomAlpha [protected]
 

Random mortality alpha, for calculating annual probability of death.

Array size is number of species to which this behavior applies.

floatVal* clSenescence::mp_fRandomBeta [protected]
 

Random mortality beta, for calculating annual probability of death.

Array size is number of species to which this behavior applies.


The documentation for this class was generated from the following file:
Generated on Mon Mar 27 12:51:21 2006 for SORTIE Core C++ Documentation by  doxygen 1.4.6-NO