Go to the documentation of this file. 1 #ifndef MOJA_MODULES_CBM_CBMLANDCLASSTRANSITIONMODULE_H_
2 #define MOJA_MODULES_CBM_CBMLANDCLASSTRANSITIONMODULE_H_
6 #include <unordered_map>
17 void configure(
const DynamicObject& config)
override;
18 void subscribe(NotificationCenter& notificationCenter)
override;
20 flint::ModuleTypes
moduleType() {
return flint::ModuleTypes::Model; };
48 #endif // MOJA_MODULES_CBM_CBMLANDCLASSTRANSITIONMODULE_H_
Definition: ageclasshelper.cpp:12
Definition: cbmlandclasstransitionmodule.h:12
std::unordered_map< std::string, std::string > _landClassTransitions
Definition: cbmlandclasstransitionmodule.h:37
Definition: cbmmodulebase.h:22
virtual void doTimingInit() override
Definition: cbmlandclasstransitionmodule.cpp:99
void fetchLandClassTransitions()
Definition: cbmlandclasstransitionmodule.cpp:195
std::unordered_map< std::string, int > _landClassElapsedTime
Definition: cbmlandclasstransitionmodule.h:36
flint::IVariable * _currentLandClass
Definition: cbmlandclasstransitionmodule.h:28
CBMLandClassTransitionModule()
Definition: cbmlandclasstransitionmodule.h:14
virtual ~CBMLandClassTransitionModule()=default
flint::IVariable * _unfcccLandClass
Definition: cbmlandclasstransitionmodule.h:29
flint::IVariable * _lastPassDisturbanceTimeseries
Definition: cbmlandclasstransitionmodule.h:33
flint::ModuleTypes moduleType()
Definition: cbmlandclasstransitionmodule.h:20
void configure(const DynamicObject &config) override
Definition: cbmlandclasstransitionmodule.cpp:28
void updateRemainingStatus(std::string landClass)
Definition: cbmlandclasstransitionmodule.cpp:218
virtual void doLocalDomainInit() override
Definition: cbmlandclasstransitionmodule.cpp:58
void subscribe(NotificationCenter ¬ificationCenter) override
Definition: cbmlandclasstransitionmodule.cpp:36
void setUnfcccLandClass()
Definition: cbmlandclasstransitionmodule.cpp:240
std::string getCreationDisturbance()
Definition: cbmlandclasstransitionmodule.cpp:163
flint::IVariable * _historicLandClass
Definition: cbmlandclasstransitionmodule.h:27
flint::IVariable * _isDecaying
Definition: cbmlandclasstransitionmodule.h:32
std::unordered_map< std::string, bool > _landClassForestStatus
Definition: cbmlandclasstransitionmodule.h:35
virtual void doTimingStep() override
Definition: cbmlandclasstransitionmodule.cpp:134
Definition: ageclasshelper.cpp:10
std::string _lastCurrentLandClass
Definition: cbmlandclasstransitionmodule.h:38
flint::IVariable * _isForest
Definition: cbmlandclasstransitionmodule.h:30
flint::IVariable * _lastPassDisturbance
Definition: cbmlandclasstransitionmodule.h:31
int _yearsSinceTransition
Definition: cbmlandclasstransitionmodule.h:39