|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
A starting point for a new flood engine: declarations only. More...
#include <ERF_FloodEngine.H>

Go to the source code of this file.
Classes | |
| class | FloodEngineTemplate |
A starting point for a new flood engine: declarations only.
This class declares every FloodEngine method a new flood model provides. Nothing here has a body, no input selects it and nothing creates one, so it adds no code to ERF. Tests/FloodEngineExample is the smallest engine that works, and a complete engine directory to copy.
To start a new engine:
The call order is the one documented on FloodEngine (ERF_FloodEngine.H). ERF_FloodCoupler.cpp checks at compile time that this class declares every method FloodEngine requires (the pure virtual ones), and override checks the signature of every method declared here. The optional methods are listed by hand: a new optional method in FloodEngine is added here too.