|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Start-up checks every surface coupling makes on the level its grid refines. More...


Go to the source code of this file.
Functions | |
| int | surface_anchor_level (int anchor_level, int finest_level, const SurfaceCouplingNames &names) |
| The level the surface grid refines: anchor_level, or the finest level when it is -1. Aborts, naming erf.<coupling>.anchor_level, when it is above the finest level. More... | |
| void | verify_surface_precip_source (const std::string &engine_name, const SurfacePrecipAccumulationSources &sources, const std::string &what, const SurfaceCouplingNames &names) |
| Aborts, naming erf.moisture_model, when no microphysics surface precipitation accumulator exists for an engine that reads it. More... | |
| void | verify_surface_grid_level (const ERF &erf, int lev, const SurfaceCouplingNames &names) |
| The checks on the level the surface grid refines, each naming the inputs to change. More... | |
| void | verify_surface_static_refinement (int lev, const std::string &pp_prefix, const SurfaceCouplingNames &names) |
| Check 2 of verify_surface_grid_level: above level 0 the level must keep its boxes. More... | |
Start-up checks every surface coupling makes on the level its grid refines.
| int surface_anchor_level | ( | int | anchor_level, |
| int | finest_level, | ||
| const SurfaceCouplingNames & | names | ||
| ) |
The level the surface grid refines: anchor_level, or the finest level when it is -1. Aborts, naming erf.<coupling>.anchor_level, when it is above the finest level.
Referenced by fire_anchor_level(), and flood_anchor_level().


| void verify_surface_grid_level | ( | const ERF & | erf, |
| int | lev, | ||
| const SurfaceCouplingNames & | names | ||
| ) |
The checks on the level the surface grid refines, each naming the inputs to change.
Referenced by verify_fire_prerequisites(), and verify_flood_prerequisites().


| void verify_surface_precip_source | ( | const std::string & | engine_name, |
| const SurfacePrecipAccumulationSources & | sources, | ||
| const std::string & | what, | ||
| const SurfaceCouplingNames & | names | ||
| ) |
Aborts, naming erf.moisture_model, when no microphysics surface precipitation accumulator exists for an engine that reads it.
| [in] | what | What the engine takes from the accumulators, for the message ("rain", "precipitation") |
Referenced by verify_fire_precip_source(), and verify_flood_precip_source().


| void verify_surface_static_refinement | ( | int | lev, |
| const std::string & | pp_prefix, | ||
| const SurfaceCouplingNames & | names | ||
| ) |
Check 2 of verify_surface_grid_level: above level 0 the level must keep its boxes.
| [in] | lev | The level the surface grid refines |
| [in] | pp_prefix | The ParmParse prefix ERF reads regrid_int with (ERF::pp_prefix: "erf", or a MultiBlock block's own) |
| [in] | names | The coupling's names, for the message |
Referenced by verify_surface_grid_level().

