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

Namespaces

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

Detailed Description

The CBMDisturbanceListener module determines which pixels are disturbed in what years, but CBMDisturbanceEventModule does the actual work of applying the pool transfers defined in the disturbance matrix as well as resetting the pixel’s age to 0 if the event causes the total live biomass to drop to < 0.001 (effectively 0, using a small threshold).