clDensitySeedSurvival Class Reference

Density-Dependent Seed Survival - version 1.0. More...

#include <DensitySeedSurvival.h>

Inheritance diagram for clDensitySeedSurvival:

clBehaviorBase clWorkerBase List of all members.

Public Member Functions

 clDensitySeedSurvival (clSimManager *p_oSimManager)
 Constructor.
 ~clDensitySeedSurvival ()
 Destructor.
void GetData (xercesc::DOMDocument *p_oDoc)
 Reads in values from the parameter file.
void Action ()
 Performs density-dependent seed survival.

Protected Attributes

clGridBasemp_oSeedGrid
 Pointer to the "Dispersed Seeds" grid created by disperse behaviors.
float * mp_fDensDepSteepness
 Density-dependence steepness parameter.
float * mp_fDensDepSlope
 Density-dependence slope parameter.
short int * mp_iSeedGridCode
 Data member codes for seed grid for number of seeds.
float m_fNormalCellArea
 Area of the "Dispersed Seeds" grid cells, in square meters.
float m_fXEdgeCellArea
 Area of the last row of "Dispersed Seeds" grid cells in the X direction, in square meters.
float m_fYEdgeCellArea
 Area of the last row of "Dispersed Seeds" grid cells in the Y direction, in square meters.
float m_fXYEdgeCellArea
 Area of the last cell of "Dispersed Seeds" grid cell in both the X and Y direction, in square meters.

Detailed Description

Density-Dependent Seed Survival - version 1.0.

This behavior reduces the number of seeds due to density-dependent effects.

The number of seeds this behavior leaves of a given species in a particular "Dispersed Seeds" grid cell is:

Rsp = Ssp*exp(-c*Denspδ)

where:

Single seeds always survive.

A fatal error is thrown if a disperse behavior is not also defined for the run.

This class's namestring and parameter call string are both "Density Dependent Seed Survival". Copyright 2005 Charles D. Canham.

Author:
Lora E. Murphy

Edit history:
-----------------
April 12, 2005 - Created (LEM)
November 15, 2006 - Fixed parameters to be area-independent and made sure that single seeds always survive (LEM)


Constructor & Destructor Documentation

clDensitySeedSurvival::clDensitySeedSurvival ( clSimManager p_oSimManager  ) 

Constructor.

Parameters:
p_oSimManager Sim Manager object.


Member Function Documentation

void clDensitySeedSurvival::Action (  )  [virtual]

Performs density-dependent seed survival.

For each grid cell in the seed grid, for each species to which this behavior applies, the number of seeds left is calculated by assessing the equation above. A random round is used to take care of fractional parts of seeds.

Reimplemented from clBehaviorBase.

void clDensitySeedSurvival::GetData ( xercesc::DOMDocument *  p_oDoc  )  [virtual]

Reads in values from the parameter file.

Parameters:
p_oDoc DOM tree of parsed input file.

Implements clWorkerBase.


Member Data Documentation

float clDensitySeedSurvival::m_fXEdgeCellArea [protected]

Area of the last row of "Dispersed Seeds" grid cells in the X direction, in square meters.

This allows for grid cells that don't divide evenly into plot lengths.

float clDensitySeedSurvival::m_fXYEdgeCellArea [protected]

Area of the last cell of "Dispersed Seeds" grid cell in both the X and Y direction, in square meters.

This allows for grid cells that don't divide evenly into plot lengths.

float clDensitySeedSurvival::m_fYEdgeCellArea [protected]

Area of the last row of "Dispersed Seeds" grid cells in the Y direction, in square meters.

This allows for grid cells that don't divide evenly into plot lengths.

float* clDensitySeedSurvival::mp_fDensDepSlope [protected]

Density-dependence slope parameter.

Array size is total number of species.

float* clDensitySeedSurvival::mp_fDensDepSteepness [protected]

Density-dependence steepness parameter.

Array size is total number of species.

short int* clDensitySeedSurvival::mp_iSeedGridCode [protected]

Data member codes for seed grid for number of seeds.

Array size is # total species.


The documentation for this class was generated from the following file:
Generated on Wed Nov 29 08:42:20 2006 for SORTIE Core C++ Documentation by  doxygen 1.4.7