|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Start-up checks of the atmosphere side of the flood coupling. More...


Go to the source code of this file.
Functions | |
| int | flood_anchor_level (int anchor_level, int finest_level) |
| The AMR level the flood grid refines: erf.flood.anchor_level, or the finest level when it is -1 (the default). More... | |
| void | verify_flood_precip_source (const std::string &engine_name, const SurfacePrecipAccumulationSources &sources) |
| Start-up check for an engine that reads the precipitation (FloodEngine::wants_surface_precip): the microphysics scheme must provide surface precipitation accumulators. More... | |
| void | verify_flood_prerequisites (const ERF &erf, int lev) |
| Verify the ERF configuration the flood coupling needs. More... | |
Start-up checks of the atmosphere side of the flood coupling.
Verifies that ERF is configured so that a flood grid can be coupled to it, whichever flood engine runs on that grid. Each engine checks its own inputs after these (FloodEngine::verify_prerequisites). The checks are those of every surface coupling (ERF_SurfacePrerequisites.H); each aborts with a message that names the input to change.
| int flood_anchor_level | ( | int | anchor_level, |
| int | finest_level | ||
| ) |
The AMR level the flood grid refines: erf.flood.anchor_level, or the finest level when it is -1 (the default).
Aborts, naming the input, when the level is above the finest level.
Referenced by ERF::InitData_post().


| void verify_flood_precip_source | ( | const std::string & | engine_name, |
| const SurfacePrecipAccumulationSources & | sources | ||
| ) |
Start-up check for an engine that reads the precipitation (FloodEngine::wants_surface_precip): the microphysics scheme must provide surface precipitation accumulators.
Aborts, naming the engine and erf.moisture_model, when the sources are empty.
| [in] | engine_name | The engine's name (FloodEngine::name) |
| [in] | sources | Microphysics::Get_Surface_Precip_Accumulation_Ptrs(lev) |
Referenced by ERF::InitData_post().


| void verify_flood_prerequisites | ( | const ERF & | erf, |
| int | lev | ||
| ) |
Verify the ERF configuration the flood coupling needs.
Checks, in order:
Referenced by FloodCoupler::initialize().

