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

#include <ERF_TI_fast_headers.H>

Collaboration diagram for CFFaceFluxes:

Public Attributes

std::array< amrex::MultiFab *, AMREX_SPACEDIM > rec {{AMREX_D_DECL(nullptr, nullptr, nullptr)}}
 
amrex::MultiFab * rec_w = nullptr
 
amrex::MultiFab * rec_w_old = nullptr
 
std::array< const amrex::MultiFab *, AMREX_SPACEDIM > tgt {{AMREX_D_DECL(nullptr, nullptr, nullptr)}}
 
const amrex::MultiFab * tgt_w = nullptr
 

Detailed Description

The coarse/fine face fluxes of the last RK stage, in the units the flux registers hold: (rho u)/m_uy, (rho v)/m_vx and the time-weighted (rho w)/(m_x m_y) without terrain; ax (rho u)/m_uy, ay (rho v)/m_vx and the time-weighted Omega/(m_x m_y) with it.

A coarse level records in rec[dir] the flux each substep applied through every face, and in rec_w the vertical quantity its z-faces hold at the end of the substep – (rho w) without terrain, Omega with it – and in rec_w_old the same at the start of the substep. A fine level takes the fluxes in tgt[dir] (component 0) on the faces where component 1 is one – its coarse/fine faces – in place of its own, and tgt_w as that vertical quantity there at the end of the substep. The fine level's fluxes through its boundary then add up to the coarse ones.

Member Data Documentation

◆ rec

std::array<amrex::MultiFab*, AMREX_SPACEDIM> CFFaceFluxes::rec {{AMREX_D_DECL(nullptr, nullptr, nullptr)}}

Referenced by erf_substep_NS(), and erf_substep_T().

◆ rec_w

amrex::MultiFab* CFFaceFluxes::rec_w = nullptr

Referenced by erf_substep_T().

◆ rec_w_old

amrex::MultiFab* CFFaceFluxes::rec_w_old = nullptr

Referenced by erf_substep_T().

◆ tgt

std::array<const amrex::MultiFab*, AMREX_SPACEDIM> CFFaceFluxes::tgt {{AMREX_D_DECL(nullptr, nullptr, nullptr)}}

Referenced by erf_substep_NS(), and erf_substep_T().

◆ tgt_w

const amrex::MultiFab* CFFaceFluxes::tgt_w = nullptr

Referenced by erf_substep_NS(), and erf_substep_T().


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