AMReX-Hydro
AMReX-based hydro routines for low Mach number flows
Loading...
Searching...
No Matches
EBGodunov

Namespaces

namespace  EBGodunov
namespace  EBGodunovBC
namespace  EBGodunovCornerCouple
namespace  EBPLM
namespace  EBGodunovTransverse

Functions

void EBGodunov::ExtrapVelToFaces (amrex::MultiFab const &vel, amrex::MultiFab const &vel_forces, AMREX_D_DECL(amrex::MultiFab &u_mac, amrex::MultiFab &v_mac, amrex::MultiFab &w_mac), amrex::Vector< amrex::BCRec > const &h_bcrec, amrex::BCRec const *d_bcrec, const amrex::Geometry &geom, amrex::Real dt, amrex::MultiFab const *velocity_on_eb_inflow=nullptr, bool allow_inflow_on_outflow=false, amrex::iMultiFab const *BC_MF=nullptr)
 Extrapolate the velocity to faces, for use as the pre-MAC velocity.

Detailed Description

Function Documentation

◆ ExtrapVelToFaces()

void EBGodunov::ExtrapVelToFaces ( amrex::MultiFab const & vel,
amrex::MultiFab const & vel_forces,
AMREX_D_DECL(amrex::MultiFab &u_mac, amrex::MultiFab &v_mac, amrex::MultiFab &w_mac) ,
amrex::Vector< amrex::BCRec > const & h_bcrec,
amrex::BCRec const * d_bcrec,
const amrex::Geometry & geom,
amrex::Real dt,
amrex::MultiFab const * velocity_on_eb_inflow = nullptr,
bool allow_inflow_on_outflow = false,
amrex::iMultiFab const * BC_MF = nullptr )

Extrapolate the velocity to faces, for use as the pre-MAC velocity.

Note
Ghost-cell requirements: vel needs 4 filled ghost cells in 3D and 3 in 2D, because the 3D prediction runs on faces lo-1..hi+2 with the fourth-order slope stencil. The EB factory must carry at least as many ghost cells, vel_forces needs 1, and velocity_on_eb_inflow, when given, needs 2. These are asserted.
Here is the call graph for this function:
Here is the caller graph for this function: