#include <Germination.h>
Inheritance diagram for clGermination:
Public Member Functions | |
clGermination (clSimManager *p_oSimManager) | |
Constructor. | |
~clGermination () | |
Destructor. | |
void | GetData (xercesc::DOMDocument *p_oDoc) |
Reads in values from the parameter file. | |
void | Action () |
Performs germination. | |
Protected Attributes | |
clGridBase * | mp_oSeedGrid |
Pointer to the "Dispersed Seeds" grid created by disperse behaviors. | |
float * | mp_fProportionGerminating |
Substrate proportion. | |
short int * | mp_iSeedGridCode |
Data member codes for seed grid for number of seeds. |
This performs germination. For a species subjected to germination, its number of seeds is reduced to a set proportion of the total.
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 "germination". Copyright 2003 Charles D. Canham.
|
Constructor.
|
|
Performs germination. For each grid cell in the seed grid, the number of seeds for a germinating species is multiplied by the germinating proportion for that species. A random round is used to take care of fractional parts of seeds. Reimplemented from clBehaviorBase. |
|
Reads in values from the parameter file.
Implements clWorkerBase. |
|
Substrate proportion. Size is # total species. |
|
Data member codes for seed grid for number of seeds. Array size is # total species. |