GCBM
peatlandturnoverparameters.h
Go to the documentation of this file.
1 #ifndef MOJA_MODULES_CBM_PLTURNOVERPARAS_H_
2 #define MOJA_MODULES_CBM_PLTURNOVERPARAS_H_
3 
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
5 #include "moja/flint/modulebase.h"
6 
8 
9 namespace moja {
10 namespace modules {
11 namespace cbm {
12 
14  public:
15  double Pfe() const { return _Pfe; }
16  double Pfn() const { return _Pfn; }
17  double Pel() const { return _Pel; }
18  double Pnl() const { return _Pnl; }
19  double Mbgls() const { return _Mbgls; }
20  double Mags() const { return _Mags; }
21  double Mbgs() const { return _Mbgs; }
22  double Pt() const { return _Pt; }
23  double Ptacro() const { return _Ptacro; }
24  double a() const { return _a; }
25  double b() const { return _b; }
26  double c() const { return _c; }
27  double d() const { return _d; }
28  double Msts() const { return _Msts; }
29  double Msto() const { return _Msto; }
30  double Mstf() const { return _Mstf; }
31  double Mstfr() const { return _Mstfr; }
32  double Mstcr() const { return _Mstcr; }
33 
34 
35 
40  PeatlandTurnoverParameters(int _spuId, PeatlandType _peatlandType, PeatlandLandCoverType _landCoverType);
41  virtual ~PeatlandTurnoverParameters() = default;
42 
43  void setValue(const DynamicObject& data) override;
44 
45  private:
46  double _Pfe{ 0 }; //Proportion woody Foliage that is Evergreem
47  double _Pfn{ 0 }; //Proportion Foliagethat is non-Evergreen/deciduous
48  double _Pel{ 0 }; //Proportion of Evergreen leaves lost annually
49  double _Pnl{ 0 }; //Proportion of non-Evergreen leaves lost annually
50  double _Mbgls{ 0 }; //Mortality rate for belowground low shrubs
51  double _Mags{ 0 }; //Mortality for aboveground sedges
52  double _Mbgs{ 0 }; //Mortality for bellowground sedges
53  double _Pt{ 0 }; //Proportion of decayed/hummified C transferred to next pool
54  double _Ptacro{ 0 }; //Proportion of decayed/hummified C transferred to next pool
55  double _a{ 0 }; //EQ2) CUMULATIVE C DENSITY C = a*(z)^b
56  double _b{ 0 }; //EQ2) CUMULATIVE C DENSITY C = a*(z)^b
57  double _c{ 0 }; //EQ1) INSTANTANEOUS C DENSITY C = c*ln(z) - d
58  double _d{ 0 }; //EQ1) INSTANTANEOUS C DENSITY C = c*ln(z) - d
59  double _Msts{ 0 };
60  double _Msto{ 0 };
61  double _Mstf{ 0 };
62  double _Mstfr{ 0 };
63  double _Mstcr{ 0 };
64  };
65 
66 }}}
67 #endif
moja::modules::cbm::PeatlandTurnoverParameters::c
double c() const
Definition: peatlandturnoverparameters.h:26
moja::modules::cbm::PeatlandTurnoverParameters::Mstf
double Mstf() const
Definition: peatlandturnoverparameters.h:30
moja::modules::cbm::PeatlandTurnoverParameters::Msto
double Msto() const
Definition: peatlandturnoverparameters.h:29
moja::modules::cbm
Definition: ageclasshelper.cpp:12
peatlandparameters.h
moja::modules::cbm::PeatlandTurnoverParameters::d
double d() const
Definition: peatlandturnoverparameters.h:27
moja::modules::cbm::PeatlandTurnoverParameters::Pfe
double Pfe() const
Definition: peatlandturnoverparameters.h:15
moja::modules::cbm::PeatlandTurnoverParameters::Pel
double Pel() const
Definition: peatlandturnoverparameters.h:17
moja::modules::cbm::PeatlandTurnoverParameters::Ptacro
double Ptacro() const
Definition: peatlandturnoverparameters.h:23
moja::modules::cbm::PeatlandTurnoverParameters::PeatlandTurnoverParameters
PeatlandTurnoverParameters()
Default constructor
Definition: peatlandturnoverparameters.h:39
moja::modules::cbm::PeatlandTurnoverParameters::Mbgs
double Mbgs() const
Definition: peatlandturnoverparameters.h:21
moja::modules::cbm::PeatlandTurnoverParameters::Msts
double Msts() const
Definition: peatlandturnoverparameters.h:28
moja::modules::cbm::PeatlandTurnoverParameters::Pfn
double Pfn() const
Definition: peatlandturnoverparameters.h:16
moja::modules::cbm::PeatlandParameters
Definition: peatlandparameters.h:15
moja::modules::cbm::PeatlandTurnoverParameters::Mbgls
double Mbgls() const
Definition: peatlandturnoverparameters.h:19
moja::modules::cbm::PeatlandTurnoverParameters::Mags
double Mags() const
Definition: peatlandturnoverparameters.h:20
moja::modules::cbm::PeatlandLandCoverType
PeatlandLandCoverType
Definition: peatlandparameters.h:12
moja::modules::cbm::PeatlandType
PeatlandType
Definition: peatlandparameters.h:11
moja::modules::cbm::PeatlandTurnoverParameters
Definition: peatlandturnoverparameters.h:13
moja::modules::cbm::PeatlandTurnoverParameters::a
double a() const
Definition: peatlandturnoverparameters.h:24
moja::modules::cbm::PeatlandTurnoverParameters::Mstfr
double Mstfr() const
Definition: peatlandturnoverparameters.h:31
moja::modules::cbm::PeatlandTurnoverParameters::b
double b() const
Definition: peatlandturnoverparameters.h:25
moja
Definition: ageclasshelper.cpp:10
moja::modules::cbm::PeatlandTurnoverParameters::Pnl
double Pnl() const
Definition: peatlandturnoverparameters.h:18
moja::modules::cbm::PeatlandTurnoverParameters::Pt
double Pt() const
Definition: peatlandturnoverparameters.h:22
moja::modules::cbm::PeatlandTurnoverParameters::Mstcr
double Mstcr() const
Definition: peatlandturnoverparameters.h:32