1 #ifndef MOJA_MODULES_CBM_PLTURNOVER_H_
2 #define MOJA_MODULES_CBM_PLTURNOVER_H_
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
19 void doLocalDomainInit()
override;
20 void doTimingInit()
override;
21 void doTimingStep()
override;
24 flint::IVariable* _waterTableDepthModifier{
nullptr };
25 flint::IVariable* _spinupMossOnly{
nullptr };
26 flint::IVariable* _appliedAnnualWTD{
nullptr };
28 double _forward_longterm_wtd{ 0 };
29 double _forward_previous_annual_wtd{ 0 };
30 double _forward_current_annual_wtd{ 0 };
32 std::string _forward_wtd_modifier{
"" };
33 bool _modifiersFullyAppplied{
false };
35 void doWaterTableFlux();
36 void updateWaterTable();
37 void updateParameters();
38 double getModifiedAnnualWTD(std::string modifierStr);
45 #endif // MOJA_MODULES_CBM_PLTURNOVER_H_