ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
FloodForcing Struct Reference

The atmospheric state a flood engine reads for one step. More...

#include <ERF_FloodEngine.H>

Collaboration diagram for FloodForcing:

Public Attributes

double time
 Start of the step [s], in double as ERF's own clock. More...
 
amrex::Real dt
 Step of the flood grid's level [s]. More...
 
const amrex::MultiFab & xvel
 x-velocity on x-faces [m/s], after this step's dycore More...
 
const amrex::MultiFab & yvel
 y-velocity on y-faces [m/s], after this step's dycore More...
 
const amrex::MultiFab & z_phys_cc
 Cell-center height [m] of the terrain-following mesh. More...
 
const amrex::MultiFab * precip_k0
 

Detailed Description

The atmospheric state a flood engine reads for one step.

Every field lives on the level the flood grid refines (erf.flood.anchor_level), in that level's index space; the engine maps them onto its own grid (FloodGrid::atm_lo gives the corner of the flood region, fill_flood_from_atm_k0 copies a column field onto the flood grid). The k = 0 slabs hold one cell in z per box of the level. The slabs are temporaries of FloodCoupler::advance(): an engine reads them during its advance() and keeps no pointer to them.

Member Data Documentation

◆ dt

amrex::Real FloodForcing::dt

Step of the flood grid's level [s].

◆ precip_k0

const amrex::MultiFab* FloodForcing::precip_k0

Surface precipitation of this step on the k = 0 slabs [kg/m2, equal to mm of liquid water]: component 0 the liquid part, component 1 the frozen part (snow, graupel and hail as liquid-water equivalent; WSM6 and WDM6 also count their cloud-ice fallout as frozen, while Morrison counts its cloud-water and cloud-ice fallout as liquid). It is the change of the microphysics accumulators over the step, so the sum over the steps of a run is the change of ERF's own accumulation over the run. Not bounded at zero: the part that is a difference of two accumulators (the liquid part for Morrison, the frozen part for WSM6 and WDM6) can be slightly negative from round-off; an engine that bounds it should carry the negative part to the next step. Where a finer level covers the flood grid's level, ERF averages the finer accumulators down onto it after the flood's step (and, with super-droplets, at plotfiles and regrids); the next step carries that correction, of either sign, in the columns under the finer level. In single precision the per-step value is resolved to the round-off of the accumulator. nullptr unless the engine asks for it (FloodEngine::wants_surface_precip).

◆ time

double FloodForcing::time

Start of the step [s], in double as ERF's own clock.

◆ xvel

const amrex::MultiFab& FloodForcing::xvel

x-velocity on x-faces [m/s], after this step's dycore

◆ yvel

const amrex::MultiFab& FloodForcing::yvel

y-velocity on y-faces [m/s], after this step's dycore

◆ z_phys_cc

const amrex::MultiFab& FloodForcing::z_phys_cc

Cell-center height [m] of the terrain-following mesh.


The documentation for this struct was generated from the following file: