GCBM
Namespaces
cbmlandclasstransitionmodule.cpp File Reference
#include "moja/modules/cbm/cbmlandclasstransitionmodule.h"
#include <moja/flint/ivariable.h>
#include <moja/signals.h>
#include <moja/notificationcenter.h>
#include <boost/format.hpp>
Include dependency graph for cbmlandclasstransitionmodule.cpp:

Namespaces

 moja
 
 moja::modules
 
 moja::modules::cbm
 

Detailed Description

This module takes care of monitoring and updating the current pixel’s land class over the course of a simulation. When a pixel changes land class, there is a delay before the land class change becomes permanent. The CBMLandClassTransitionModule module also tracks whether the pixel is currently forested or not, based on the current land class. This determines if growth is simulated in the pixel. It also partially controls the is_decaying flag, pausing decay for initially non-forest pixels in afforestation projects, and re-enabling it after a land class change.