|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
What a structure model may read from the fire, when the run has one. More...
#include <ERF_StructureModel.H>

Public Attributes | |
| const amrex::Geometry & | geom |
| Geometry of the fire grid [m] (one cell in z) More... | |
| int | lev |
| The atmospheric level the fire grid refines. More... | |
| double | time |
| The time the fields belong to [s] (see above) More... | |
| const amrex::MultiFab * | heat_release |
| Heat released [W/m2] on the fire grid (FireEngine::heat_release); nullptr if the engine has none. More... | |
| const amrex::MultiFab * | level_set |
| std::function< amrex::Real()> | burned_area |
What a structure model may read from the fire, when the run has one.
The fire engine's fields (the getters of ERF_FireEngine.H) on the fire grid: a horizontal grid, one cell in z, that refines one atmospheric level (erf.fire.anchor_level). That level need not be the one the model couples to. Fire cell (i, j) has its center at geom.ProbLo() + ((i + 1/2) dx, (j + 1/2) dy), in the coordinates of the model's own points.
The fields are the engine's state at time: the time ERF assigns to the fire's level at the end of the fire's last step, or the time ERF started or restarted from before that step. The fire steps after the dycore of its own level. A model on the fire's level or a coarser one therefore sees the fire at its own step's time, exactly; a model on a finer level sees it up to one step of the fire's level ahead of its own step. On a restart, until the fire's first step, they are what the engine restored from the checkpoint (an engine that does not restore a field holds its initial value there). Each field is spread over the ranks as the fire grid is: a model that needs the fire at its own points reduces over the ranks itself (every rank calls advance()). Like the flow fields, they are temporaries of the call.
| std::function<amrex::Real()> StructureFire::burned_area |
Area burned so far [m2] (FireEngine::burned_area), negative when the engine does not track it. It may reduce over the ranks: every rank calls it, or none.
| const amrex::Geometry& StructureFire::geom |
Geometry of the fire grid [m] (one cell in z)
| const amrex::MultiFab* StructureFire::heat_release |
Heat released [W/m2] on the fire grid (FireEngine::heat_release); nullptr if the engine has none.
| int StructureFire::lev |
The atmospheric level the fire grid refines.
| const amrex::MultiFab* StructureFire::level_set |
Level set on the fire grid, negative where burned (FireEngine::level_set); nullptr if the engine has none
| double StructureFire::time |
The time the fields belong to [s] (see above)