|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
The registry behind ERF_REGISTER_FIRE_ENGINE and ERF_REGISTER_FLOOD_ENGINE. More...
#include <ERF_SurfaceCouplingNames.H>#include <AMReX.H>#include <functional>#include <map>#include <memory>#include <string>#include <vector>

Go to the source code of this file.
Classes | |
| class | SurfaceEngineRegistry< Engine, Params > |
The registry behind ERF_REGISTER_FIRE_ENGINE and ERF_REGISTER_FLOOD_ENGINE.
One registry per engine base class: SurfaceEngineRegistry<FireEngine, FireCouplingParams> holds the fire engines, SurfaceEngineRegistry<FloodEngine, FloodCouplingParams> the flood engines. Each coupling instantiates its registry in one .cpp (ERF_FireEngineRegistry.cpp, ERF_FloodEngineRegistry.cpp) behind its own functions (register_fire_engine, fire_engine_names, make_fire_engine, and the flood ones), so the map lives in that translation unit and the registration macros are unchanged.