GCBM
moja.modules.cbm
include
moja
modules
cbm
peatlandgrowthcurve.h
Go to the documentation of this file.
1
#ifndef MOJA_MODULES_CBM_PLGROWTHCURVE_H_
2
#define MOJA_MODULES_CBM_PLGROWTHCURVE_H_
3
4
#include "moja/modules/cbm/_modules.cbm_exports.h"
5
#include "moja/flint/modulebase.h"
6
7
#include "
moja/modules/cbm/peatlandparameters.h
"
8
9
10
namespace
moja
{
11
namespace
modules {
12
namespace
cbm
{
13
14
class
CBM_API
PeatlandGrowthcurve
{
15
public
:
16
int
growthCurveId
()
const
{
return
_growthCurveId; }
17
21
PeatlandGrowthcurve
(){}
22
23
void
setValue(
const
std::vector<DynamicObject>& data);
24
void
setValue(
const
DynamicObject& data);
25
26
double
getNetGrowthAtAge(
int
age);
27
28
private
:
29
int
_growthCurveId{ -1 };
// the growth curve ID
30
31
//woody layer yield curve, net growth value in terms of carbon (Mg C ha-1)
32
std::vector<double>
_woodyTotal
;
33
};
34
35
}}}
36
#endif
moja::modules::cbm
Definition:
ageclasshelper.cpp:12
peatlandparameters.h
moja::modules::cbm::PeatlandGrowthcurve::_woodyTotal
std::vector< double > _woodyTotal
Definition:
peatlandgrowthcurve.h:32
moja::modules::cbm::PeatlandGrowthcurve
Definition:
peatlandgrowthcurve.h:14
moja::modules::cbm::PeatlandGrowthcurve::growthCurveId
int growthCurveId() const
Definition:
peatlandgrowthcurve.h:16
moja::modules::cbm::PeatlandGrowthcurve::PeatlandGrowthcurve
PeatlandGrowthcurve()
Default constructor
Definition:
peatlandgrowthcurve.h:21
moja
Definition:
ageclasshelper.cpp:10
Generated by
1.8.17