GCBM
|
#include "moja/modules/cbm/cbmdisturbancelistener.h"
#include <moja/flint/ivariable.h>
#include <moja/flint/ioperation.h>
#include <moja/flint/itiming.h>
#include <moja/logging.h>
#include <moja/signals.h>
#include <moja/notificationcenter.h>
#include <boost/format.hpp>
#include <boost/algorithm/string.hpp>
Namespaces | |
moja | |
moja::modules | |
moja::modules::cbm | |
The CBMDisturbanceListener module reads the stack of disturbance layers for each pixel and determines which events to apply in each year of the simulation. For each disturbance event in the current time step for the current pixel, the module informs the model with data about the event, i.e., the disturbance type name, disturbance type code, the disturbance matrix, an optional transition rule, and an optional land class transition.
Disturbance matrices define the transfers of carbon between pools that occur as a result of a disturbance event. Other modules receive the disturbance event data from the CBMDisturbanceListener module, have an opportunity to add, remove, or modify pool transfers in the disturbance matrix before they are applied by the CBMDisturbanceEventModule module.