DataTypes.h File Reference
Here is a universal place to define model-specific data types, structures, enums, etc.
More...
|
Classes |
struct | floatVal |
| Structure for holding species-specific float values. More...
|
struct | intVal |
| Structure for holding species-specific integer values. More...
|
struct | doubleVal |
| Structure for holding species-specific double values. More...
|
struct | boolVal |
| Structure for holding species-specific boolean values. More...
|
struct | stcSpeciesTypeCombo |
| Holds species/type combos. More...
|
Enumerations |
enum | fileType {
notrecognized = -1,
oldsortie = 0,
parfile = 1,
tree,
treemap,
batchfile,
map,
detailed_output,
detailed_output_timestep,
lastfile
} |
| List of file type codes. More...
|
enum | pdf {
deterministic_pdf,
poisson_pdf,
lognormal_pdf,
normal_pdf,
negative_binomial_pdf,
binomial_pdf,
inverse_gaussian_pdf
} |
| List of PDFs. More...
|
enum | whyDead {
notdead = 0,
harvest,
natural,
disease,
fire,
insects,
storm,
remove_tree
} |
| Reason codes for why a tree died. More...
|
enum | mastEvent { nonmast,
mast,
numevents
} |
| Masting vs. More...
|
Detailed Description
Here is a universal place to define model-specific data types, structures, enums, etc.
Copyright 2003 Charles D. Canham.
- Author:
- Lora E. Murphy
Edit history:
-----------------
April 28, 2004 - Submitted as beta (LEM)
February 8, 2008 - Added tree death reason codes (LEM)
Enumeration Type Documentation
List of file type codes.
- Enumerator:
-
notrecognized |
Unrecognized file type. |
oldsortie |
File from old version of SORTIE. |
parfile |
Parameter file. |
tree |
General tree file. |
treemap |
Tree map file only. |
batchfile |
Batch file. |
map |
Grid map. |
detailed_output |
Detailed output file. |
detailed_output_timestep |
Detailed output timestep file. |
lastfile |
Placeholder. |
Masting vs.
non-masting events
- Enumerator:
-
nonmast |
Non-masting event. |
mast |
Masting event. |
numevents |
Number of event categories. |
List of PDFs.
- Enumerator:
-
deterministic_pdf |
deterministic, no PDF |
poisson_pdf |
Poisson. |
lognormal_pdf |
Lognormal. |
normal_pdf |
Normal. |
negative_binomial_pdf |
Negative binomial. |
binomial_pdf |
Binomial. |
inverse_gaussian_pdf |
Inverse Gaussian. |
Reason codes for why a tree died.
This controls the life history stage they pass to as dead trees.
- Enumerator:
-
notdead |
Tree is not dead. |
harvest |
Harvested. |
natural |
Natural causes - regular mortality functions. |
disease |
Killed by disease. |
fire |
Killed by fire. |
insects |
Killed by insects. |
storm |
Killed by a storm (windthrow). |
remove_tree |
Request an immediate removal of this tree from memory. |