33 #if QT_VERSION >= 0x050000
34 Q_PLUGIN_METADATA(IID
"at.ac.boku.iland.fireplugin" FILE
"fireplugin.json")
Definition: plugin_interface.h:35
FireModule is the main class of the fire sub module.
Definition: firemodule.h:141
void yearBegin()
called yearly from the plugin to perform some cleanup.
Definition: firemodule.cpp:209
void setup()
the setup function sets up the grids and parameters used for the fire module.
Definition: firemodule.cpp:138
void calculateDroughtIndex(const ResourceUnit *resource_unit, const WaterCycleData *water_data)
called from the plugin to perform calculations (drought indices) during the water cycle routine.
Definition: firemodule.cpp:236
void run()
main function that is executed yearly (called by the plugin) performs the major processes (ignition,...
Definition: firemodule.cpp:219
Definition: fireplugin.h:31
QString description()
some additional description. This info is shown in the GUI and is printed to the log file.
Definition: fireplugin.cpp:44
void run()
main function that once a year (after growth)
Definition: fireplugin.h:57
FireModule * fireModule()
Definition: fireplugin.h:62
void setupResourceUnit(const ResourceUnit *ru)
setup resource unit specific parameters
Definition: fireplugin.h:50
QString name()
a unique name of the plugin
Definition: fireplugin.cpp:34
void setup()
setup after the main iLand model frame is created
Definition: fireplugin.cpp:61
void yearBegin()
function executes at the beginning of a year (e.g., cleanup)
Definition: fireplugin.h:56
void setupScripting(QJSEngine *engine)
setup additional javascript related features
Definition: fireplugin.cpp:75
void calculateWater(const ResourceUnit *resource_unit, const WaterCycleData *water_data)
Definition: fireplugin.h:59
FirePlugin()
Definition: fireplugin.cpp:52
QString version()
a version identification
Definition: fireplugin.cpp:39
ResourceUnit is the spatial unit that encapsulates a forest stand and links to several environmental ...
Definition: resourceunit.h:49
Definition: plugin_interface.h:52
WaterCycleData is a data transfer container for water-related details.
Definition: watercycle.h:191
Definition: plugin_interface.h:67