Go to the documentation of this file. 1 #ifndef MOJA_MODULES_CBM_PERDFACTOR_H_
2 #define MOJA_MODULES_CBM_PERDFACTOR_H_
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
5 #include "moja/flint/modulebase.h"
18 double a()
const {
return _a; }
19 double b()
const {
return _b; }
24 double a_sap()
const {
return _a_sap; }
25 double b_sap()
const {
return _b_sap; }
26 double k_sap()
const {
return _k_sap; }
27 double cap_sap()
const {
return _cap_sap; }
28 double a1()
const {
return _a1; }
29 double a2()
const {
return _a2; }
30 double a3()
const {
return _a3; }
31 double b1()
const {
return _b1; }
32 double b2()
const {
return _b2; }
33 double b3()
const {
return _b3; }
34 double c1()
const {
return _c1; }
35 double c2()
const {
return _c2; }
36 double c3()
const {
return _c3; }
56 _merchEquationNumber(1),
57 _nonmerchEquationNumber(2),
58 _saplingEquationNumber(4),
59 _otherEquationNumber(7) {}
63 void setValue(
const DynamicObject& data);
64 void setDefaultValue(
const std::vector<double>& data);
65 void setTreeSpeciesID(
int id);
68 int _treeSpeciesId = 0;
69 int _merchEquationNumber = 0;
70 int _nonmerchEquationNumber = 0;
71 int _saplingEquationNumber = 0;
72 int _otherEquationNumber = 0;
75 double _a_nonmerch = 0;
76 double _b_nonmerch = 0;
77 double _k_nonmerch = 0;
78 double _cap_nonmerch = 0;
92 double _min_volume = 0;
93 double _max_volume = 0;
94 double _low_stemwood_prop = 0;
95 double _high_stemwood_prop = 0;
96 double _low_stembark_prop = 0;
97 double _high_stembark_prop = 0;
98 double _low_branches_prop = 0;
99 double _high_branches_prop = 0;
100 double _low_foliage_prop = 0;
101 double _high_foliage_prop = 0;
102 double _softwood_top_prop = 0;
103 double _softwood_stump_prop = 0;
104 double _hardwood_top_prop = 0;
105 double _hardwood_stump_prop = 0;
double cap_sap() const
Definition: perdfactor.h:27
double softwood_top_prop() const
Definition: perdfactor.h:47
int nonmerchEquationNumber() const
Definition: perdfactor.h:15
double high_stemwood_prop() const
Definition: perdfactor.h:40
Definition: ageclasshelper.cpp:12
double k_nonmerch() const
Definition: perdfactor.h:22
double high_foliage_prop() const
Definition: perdfactor.h:46
double a1() const
Definition: perdfactor.h:28
double low_branches_prop() const
Definition: perdfactor.h:43
double b1() const
Definition: perdfactor.h:31
double c3() const
Definition: perdfactor.h:36
Definition: perdfactor.h:11
double low_stemwood_prop() const
Definition: perdfactor.h:39
double b2() const
Definition: perdfactor.h:32
double b3() const
Definition: perdfactor.h:33
double b_sap() const
Definition: perdfactor.h:25
int saplingEquationNumber() const
Definition: perdfactor.h:16
int merchEquationNumber() const
Definition: perdfactor.h:14
double cap_nonmerch() const
Definition: perdfactor.h:23
double low_stembark_prop() const
Definition: perdfactor.h:41
double a2() const
Definition: perdfactor.h:29
double max_volume() const
Definition: perdfactor.h:38
double a3() const
Definition: perdfactor.h:30
double b() const
Definition: perdfactor.h:19
double c1() const
Definition: perdfactor.h:34
double low_foliage_prop() const
Definition: perdfactor.h:45
double a() const
Definition: perdfactor.h:18
double min_volume() const
Definition: perdfactor.h:37
double hardwood_stump_prop() const
Definition: perdfactor.h:50
int treeSpeciesTypeId() const
Definition: perdfactor.h:13
double c2() const
Definition: perdfactor.h:35
double high_branches_prop() const
Definition: perdfactor.h:44
double a_sap() const
Definition: perdfactor.h:24
double k_sap() const
Definition: perdfactor.h:26
PERDFactor()
Default constructor
Definition: perdfactor.h:55
double b_nonmerch() const
Definition: perdfactor.h:21
double hardwood_top_prop() const
Definition: perdfactor.h:49
double a_nonmerch() const
Definition: perdfactor.h:20
Definition: ageclasshelper.cpp:10
double high_stembark_prop() const
Definition: perdfactor.h:42
double softwood_stump_prop() const
Definition: perdfactor.h:48
int otherEquationNumber() const
Definition: perdfactor.h:17