1 #ifndef MOJA_MODULES_CBM_SPINUP_PEATLAND_PREPARE_H_
2 #define MOJA_MODULES_CBM_SPINUP_PEATLAND_PREPARE_H_
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
22 void doLocalDomainInit()
override;
23 void doTimingInit()
override;
24 void doTimingStep()
override;
28 flint::IVariable* _spinupMossOnly =
nullptr;
29 flint::IVariable* _appliedAnnualWTD{
nullptr };
31 double _spinup_longterm_wtd{ 0 };
32 double _spinup_previous_annual_wtd{ 0 };
33 double _spinup_current_annual_wtd{ 0 };
35 void doWaterTableFlux();
37 bool _isInitialPoolLoaded{
false };
38 void loadPeatlandInitialPoolValues(
const DynamicObject& data);