Go to the documentation of this file. 1 #ifndef MOJA_MODULES_CBM_MOSSDECAY_H_
2 #define MOJA_MODULES_CBM_MOSSDECAY_H_
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
18 : _gcFactory(gcFactory) {};
22 void configure(
const DynamicObject& config)
override;
23 void subscribe(NotificationCenter& notificationCenter)
override;
25 flint::ModuleTypes
moduleType()
override {
return flint::ModuleTypes::Model; };
27 void doLocalDomainInit()
override;
28 void doTimingInit()
override;
29 void doTimingStep()
override;
36 const flint::IPool* _featherMossFast =
nullptr;;
37 const flint::IPool* _sphagnumMossFast =
nullptr;;
38 const flint::IPool* _featherMossSlow =
nullptr;;
39 const flint::IPool* _sphagnumMossSlow =
nullptr;;
40 const flint::IPool* _CO2 =
nullptr;;
41 bool runMoss{
false };
63 double F6(
double m,
double n,
double maxVolume);
70 double F7(
double baseDecayRate,
double meanAnnualTemperature,
double q10);
72 void updateMossAppliedDecayParameters(
double standMaximumVolume,
double meanAnnualTemperature);
74 void doMossFastPoolDecay();
76 void doMossSlowPoolDecay();
Parameters for moss related computing.
Definition: mossdecaymodule.h:15
Definition: ageclasshelper.cpp:12
double akss
Definition: mossdecaymodule.h:52
double kss
Definition: mossdecaymodule.h:46
double meanAnnualTemperature
Definition: mossdecaymodule.h:59
double fastToSlowTurnoverRate
Definition: mossdecaymodule.h:56
Definition: cbmmodulebase.h:22
double ksf
Definition: mossdecaymodule.h:44
double q10
Definition: mossdecaymodule.h:47
double kff
Definition: mossdecaymodule.h:43
MossDecayModule(std::shared_ptr< StandGrowthCurveFactory > gcFactory)
Definition: mossdecaymodule.h:17
double n
Definition: mossdecaymodule.h:54
Int64 currentStandGCId
Definition: mossdecaymodule.h:60
double tref
Definition: mossdecaymodule.h:48
double aksf
Definition: mossdecaymodule.h:51
flint::IVariable * _mossParameters
Definition: mossdecaymodule.h:34
double m
Definition: mossdecaymodule.h:53
flint::ModuleTypes moduleType() override
Definition: mossdecaymodule.h:25
std::shared_ptr< StandGrowthCurveFactory > _gcFactory
Definition: mossdecaymodule.h:32
double akff
Definition: mossdecaymodule.h:49
double kfs
Definition: mossdecaymodule.h:45
double akfs
Definition: mossdecaymodule.h:50
double fastToAirDecayRate
Definition: mossdecaymodule.h:57
Definition: ageclasshelper.cpp:10