#include <peatlandgrowthcurve.h>
◆ PeatlandGrowthcurve()
◆ getNetGrowthAtAge()
double getNetGrowthAtAge |
( |
int |
age | ) |
|
Assign size_t variable maxAge as PeatlandGrowthcurve_woodyTotal size - 1
if parameter age is greater than maxAge, assign size_t variable ageIndex as maxAge else ageIndex as age.
If ageIndex is greater than 0, assign size_t variable ageIndexPre as ageIndex - 1 else ageIndexPre as 0. return the difference between ageIndex and ageIndexPre in PeatlandGrowthcurve._woodyTotal.
- Parameters
-
- Returns
- double
◆ growthCurveId()
int growthCurveId |
( |
| ) |
const |
◆ setValue() [1/2]
void setValue |
( |
const DynamicObject & |
data | ) |
|
◆ setValue() [2/2]
void setValue |
( |
const std::vector< DynamicObject > & |
data | ) |
|
◆ _growthCurveId
int _growthCurveId { -1 } |
|
private |
◆ _woodyTotal
std::vector<double> _woodyTotal |
|
private |
The documentation for this class was generated from the following files: