AMReX-Hydro
AMReX-based hydro routines for low Mach number flows
EBGodunov Namespace Reference

Functions

void 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)
 
void ComputeAdvectiveVel (AMREX_D_DECL(amrex::Box const &xbx, amrex::Box const &ybx, amrex::Box const &zbx), AMREX_D_DECL(amrex::Array4< amrex::Real > const &u_ad, amrex::Array4< amrex::Real > const &v_ad, amrex::Array4< amrex::Real > const &w_ad), AMREX_D_DECL(amrex::Array4< amrex::Real const > const &Imx, amrex::Array4< amrex::Real const > const &Imy, amrex::Array4< amrex::Real const > const &Imz), AMREX_D_DECL(amrex::Array4< amrex::Real const > const &Ipx, amrex::Array4< amrex::Real const > const &Ipy, amrex::Array4< amrex::Real const > const &Ipz), amrex::Array4< amrex::Real const > const &vel, amrex::Array4< amrex::EBCellFlag const > const &flag, const amrex::Box &domain, amrex::BCRec const *pbc, amrex::Array4< int const > const &bc_arr={})
 
void ExtrapVelToFacesOnBox (amrex::Box const &bx, int ncomp, AMREX_D_DECL(amrex::Box const &xbx, amrex::Box const &ybx, amrex::Box const &zbx), AMREX_D_DECL(amrex::Box const &xebx, amrex::Box const &yebx, amrex::Box const &zebx), AMREX_D_DECL(amrex::Array4< amrex::Real > const &qx, amrex::Array4< amrex::Real > const &qy, amrex::Array4< amrex::Real > const &qz), amrex::Array4< amrex::Real const > const &q, AMREX_D_DECL(amrex::Array4< amrex::Real const > const &u_ad, amrex::Array4< amrex::Real const > const &v_ad, amrex::Array4< amrex::Real const > const &w_ad), AMREX_D_DECL(amrex::Array4< amrex::Real > const &Imx, amrex::Array4< amrex::Real > const &Imy, amrex::Array4< amrex::Real > const &Imz), AMREX_D_DECL(amrex::Array4< amrex::Real > const &Ipx, amrex::Array4< amrex::Real > const &Ipy, amrex::Array4< amrex::Real > const &Ipz), amrex::Array4< amrex::Real const > const &f, const amrex::Box &domain, const amrex::Real *dx, amrex::Real dt, amrex::BCRec const *pbc, amrex::Array4< amrex::EBCellFlag const > const &flag, AMREX_D_DECL(amrex::Array4< amrex::Real const > const &apx, amrex::Array4< amrex::Real const > const &apy, amrex::Array4< amrex::Real const > const &apz), AMREX_D_DECL(amrex::Array4< amrex::Real const > const &fcx, amrex::Array4< amrex::Real const > const &fcy, amrex::Array4< amrex::Real const > const &fcz), amrex::Real *p, amrex::Array4< amrex::Real const > const &velocity_on_eb_inflow, bool allow_inflow_on_outflow=false, amrex::Array4< int const > const &bc_arr={})
 
void ComputeEdgeState (amrex::Box const &bx, int ncomp, amrex::Array4< amrex::Real const > const &q, amrex::Array4< amrex::Real const > const &qnph, AMREX_D_DECL(amrex::Array4< amrex::Real > const &xedge, amrex::Array4< amrex::Real > const &yedge, amrex::Array4< amrex::Real > const &zedge), AMREX_D_DECL(amrex::Array4< amrex::Real const > const &u_mac, amrex::Array4< amrex::Real const > const &v_mac, amrex::Array4< amrex::Real const > const &w_mac), amrex::Array4< amrex::Real const > const &divu, amrex::Array4< amrex::Real const > const &fq, amrex::Geometry const &geom, amrex::Real l_dt, amrex::Vector< amrex::BCRec > const &h_bcrec, amrex::BCRec const *pbc, int const *iconserv, amrex::Real *p, amrex::Array4< amrex::EBCellFlag const > const &flag_arr, AMREX_D_DECL(amrex::Array4< amrex::Real const > const &apx, amrex::Array4< amrex::Real const > const &apy, amrex::Array4< amrex::Real const > const &apz), amrex::Array4< amrex::Real const > const &vfrac_arr, AMREX_D_DECL(amrex::Array4< amrex::Real const > const &fcx, amrex::Array4< amrex::Real const > const &fcy, amrex::Array4< amrex::Real const > const &fcz), amrex::Array4< amrex::Real const > const &ccent_arr, bool is_velocity, amrex::Array4< amrex::Real const > const &values_on_eb_inflow, bool allow_inflow_on_outflow, amrex::Array4< int const > const &bc_arr={})
 

Function Documentation

◆ ComputeAdvectiveVel()

void EBGodunov::ComputeAdvectiveVel ( AMREX_D_DECL(amrex::Box const &xbx, amrex::Box const &ybx, amrex::Box const &zbx)  ,
AMREX_D_DECL(amrex::Array4< amrex::Real > const &u_ad, amrex::Array4< amrex::Real > const &v_ad, amrex::Array4< amrex::Real > const &w_ad)  ,
AMREX_D_DECL(amrex::Array4< amrex::Real const > const &Imx, amrex::Array4< amrex::Real const > const &Imy, amrex::Array4< amrex::Real const > const &Imz)  ,
AMREX_D_DECL(amrex::Array4< amrex::Real const > const &Ipx, amrex::Array4< amrex::Real const > const &Ipy, amrex::Array4< amrex::Real const > const &Ipz)  ,
amrex::Array4< amrex::Real const > const &  vel,
amrex::Array4< amrex::EBCellFlag const > const &  flag,
const amrex::Box domain,
amrex::BCRec const *  pbc,
amrex::Array4< int const > const &  bc_arr = {} 
)

◆ ComputeEdgeState()

void EBGodunov::ComputeEdgeState ( amrex::Box const &  bx,
int  ncomp,
amrex::Array4< amrex::Real const > const &  q,
amrex::Array4< amrex::Real const > const &  qnph,
AMREX_D_DECL(amrex::Array4< amrex::Real > const &xedge, amrex::Array4< amrex::Real > const &yedge, amrex::Array4< amrex::Real > const &zedge)  ,
AMREX_D_DECL(amrex::Array4< amrex::Real const > const &u_mac, amrex::Array4< amrex::Real const > const &v_mac, amrex::Array4< amrex::Real const > const &w_mac)  ,
amrex::Array4< amrex::Real const > const &  divu,
amrex::Array4< amrex::Real const > const &  fq,
amrex::Geometry const &  geom,
amrex::Real  l_dt,
amrex::Vector< amrex::BCRec > const &  h_bcrec,
amrex::BCRec const *  pbc,
int const *  iconserv,
amrex::Real *  p,
amrex::Array4< amrex::EBCellFlag const > const &  flag_arr,
AMREX_D_DECL(amrex::Array4< amrex::Real const > const &apx, amrex::Array4< amrex::Real const > const &apy, amrex::Array4< amrex::Real const > const &apz)  ,
amrex::Array4< amrex::Real const > const &  vfrac_arr,
AMREX_D_DECL(amrex::Array4< amrex::Real const > const &fcx, amrex::Array4< amrex::Real const > const &fcy, amrex::Array4< amrex::Real const > const &fcz)  ,
amrex::Array4< amrex::Real const > const &  ccent_arr,
bool  is_velocity,
amrex::Array4< amrex::Real const > const &  values_on_eb_inflow,
bool  allow_inflow_on_outflow,
amrex::Array4< int const > const &  bc_arr = {} 
)

◆ 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 
)
Here is the caller graph for this function:

◆ ExtrapVelToFacesOnBox()

void EBGodunov::ExtrapVelToFacesOnBox ( amrex::Box const &  bx,
int  ncomp,
AMREX_D_DECL(amrex::Box const &xbx, amrex::Box const &ybx, amrex::Box const &zbx)  ,
AMREX_D_DECL(amrex::Box const &xebx, amrex::Box const &yebx, amrex::Box const &zebx)  ,
AMREX_D_DECL(amrex::Array4< amrex::Real > const &qx, amrex::Array4< amrex::Real > const &qy, amrex::Array4< amrex::Real > const &qz)  ,
amrex::Array4< amrex::Real const > const &  q,
AMREX_D_DECL(amrex::Array4< amrex::Real const > const &u_ad, amrex::Array4< amrex::Real const > const &v_ad, amrex::Array4< amrex::Real const > const &w_ad)  ,
AMREX_D_DECL(amrex::Array4< amrex::Real > const &Imx, amrex::Array4< amrex::Real > const &Imy, amrex::Array4< amrex::Real > const &Imz)  ,
AMREX_D_DECL(amrex::Array4< amrex::Real > const &Ipx, amrex::Array4< amrex::Real > const &Ipy, amrex::Array4< amrex::Real > const &Ipz)  ,
amrex::Array4< amrex::Real const > const &  f,
const amrex::Box domain,
const amrex::Real *  dx,
amrex::Real  dt,
amrex::BCRec const *  pbc,
amrex::Array4< amrex::EBCellFlag const > const &  flag,
AMREX_D_DECL(amrex::Array4< amrex::Real const > const &apx, amrex::Array4< amrex::Real const > const &apy, amrex::Array4< amrex::Real const > const &apz)  ,
AMREX_D_DECL(amrex::Array4< amrex::Real const > const &fcx, amrex::Array4< amrex::Real const > const &fcy, amrex::Array4< amrex::Real const > const &fcz)  ,
amrex::Real *  p,
amrex::Array4< amrex::Real const > const &  velocity_on_eb_inflow,
bool  allow_inflow_on_outflow = false,
amrex::Array4< int const > const &  bc_arr = {} 
)