1 #ifndef MOJA_MODULES_CBM_MOSSTURNOVER_H_
2 #define MOJA_MODULES_CBM_MOSSTURNOVER_H_
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
16 void configure(
const DynamicObject& config)
override;
17 void subscribe(NotificationCenter& notificationCenter)
override;
19 flint::ModuleTypes
moduleType()
override {
return flint::ModuleTypes::Model; };
21 void doLocalDomainInit()
override;
22 void doTimingInit()
override;
23 void doTimingStep()
override;
26 flint::IVariable* _mossParameters =
nullptr;;
28 const flint::IPool* _featherMossLive =
nullptr;;
29 const flint::IPool* _sphagnumMossLive =
nullptr;;
30 const flint::IPool* _featherMossFast =
nullptr;;
31 const flint::IPool* _sphagnumMossFast =
nullptr;;
33 flint::IVariable* _regenDelay =
nullptr;
34 bool runMoss{
false };
39 double fmlTurnoverRate{ 0 };
44 double smlTurnoverRate{ 0 };
46 void doLiveMossTurnover();