1 #ifndef ERF_FIRE_ENGINE_TEMPLATE_H
2 #define ERF_FIRE_ENGINE_TEMPLATE_H
52 const char*
name ()
const override;
72 const amrex::MultiFab* z_phys_nd_atm)
override;
139 void read_checkpoint (
const std::string& restart_chkfile,
int max_level,
int step)
override;
152 const amrex::MultiFab*
plot_var (
const std::string&
name)
const override;
The interface between the fire coupling and a fire engine.
amrex::Real Real
Definition: ERF_ShocInterface.H:19
Definition: ERF_FireEngineTemplate.H:49
void write_checkpoint(const std::string &checkpointname) const override
amrex::Real smoke_heat_per_kg() const override
void read_checkpoint(const std::string &restart_chkfile, int max_level, int step) override
const amrex::MultiFab * heat_release() const override
const char * name() const override
The name erf.fire.engine selects this engine by, for example "my_fire".
const amrex::MultiFab * heat_open_fraction_atm() const override
amrex::Real burned_area() const override
Optional, -1 unless declared: area burned so far [m2], printed with erf.fire.fire_debug.
const amrex::MultiFab * level_set() const override
const amrex::MultiFab * roof_height_atm() const override
bool needs_surface_layer() const override
void fill_fluxes(FireFluxes &fluxes) override
void advance(const FireForcing &forcing) override
void write_plotfile(const std::string &plotfile_prefix, amrex::Real time, int step) const override
void initialize(const ERF &erf, int lev, const FireGrid &fg, const SurfaceLayer *surface_layer, const amrex::MultiFab *z_phys_nd_atm) override
const amrex::MultiFab * reference_wind() const override
Wind (u, v) [m/s] the engine sampled at reference_wind_height() on the fire grid; nullptr if none.
bool wants_surface_precip() const override
Optional, false unless declared: true if advance() needs forcing.precip_accum_k0.
void verify_prerequisites(const ERF &erf, int lev) override
std::vector< std::string > plot_var_names() const override
amrex::Real reference_wind_height() const override
Height above ground [m] of reference_wind().
void start_run(amrex::Real stop_time, int max_step, int steps_per_coarse_step) override
const amrex::MultiFab * plot_var(const std::string &name) const override
The field plot_var_names() lists as name, on the fire grid.
A fire engine behind the shared coupling layer.
Definition: ERF_FireEngine.H:132
Definition: ERF_SurfaceLayer.H:60
Definition: ERF_InterpolationUtils.H:15
@ fg
Definition: ERF_AdvanceMorrison.cpp:111
The fluxes a fire engine hands to the atmosphere after its step.
Definition: ERF_FireEngine.H:99
The atmospheric state a fire engine reads at the start of its step.
Definition: ERF_FireEngine.H:67
2D horizontal fire computational grid
Definition: ERF_FireGrid.H:29