|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <ERF_FloodEngineRegistry.H>#include <ERF_FloodGrid.H>#include <ERF_SurfaceEngineRegistry.H>
Typedefs | |
| using | FloodRegistry = SurfaceEngineRegistry< FloodEngine, FloodCouplingParams > |
Functions | |
| bool | register_flood_engine (const std::string &name, FloodEngineCreator creator) |
| Add an engine to the registry; aborts on a name registered twice. More... | |
| std::vector< std::string > | flood_engine_names () |
| Names erf.flood.engine accepts, sorted; empty when no engine is compiled in. More... | |
| std::unique_ptr< FloodEngine > | make_flood_engine (const std::string &name, const FloodCouplingParams ¶ms) |
| The engine erf.flood.engine names, or nullptr when no engine has that name. More... | |
| std::vector<std::string> flood_engine_names | ( | ) |
Names erf.flood.engine accepts, sorted; empty when no engine is compiled in.
Referenced by FloodCouplingParams::read().


| std::unique_ptr<FloodEngine> make_flood_engine | ( | const std::string & | name, |
| const FloodCouplingParams & | params | ||
| ) |
The engine erf.flood.engine names, or nullptr when no engine has that name.
Referenced by ERF::initializeFlood().


| bool register_flood_engine | ( | const std::string & | name, |
| FloodEngineCreator | creator | ||
| ) |
Add an engine to the registry; aborts on a name registered twice.
Called by ERF_REGISTER_FLOOD_ENGINE; returns true so the macro can hold the result in a static variable.
