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

Classes

struct  nolimiter
 
struct  vanleer
 
struct  wenoz
 

Enumerations

enum  limiters { VanLeer , WENOZ , NoLimiter }
 

Functions

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void SetXBCs (const int i, const int j, const int k, const int n, amrex::Real &sm, amrex::Real &sp, amrex::Real &sedge1, amrex::Real &sedge2, const amrex::Array4< const amrex::Real > &s, const int bclo, const int bchi, const int domlo, const int domhi)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void SetYBCs (const int i, const int j, const int k, const int n, amrex::Real &sm, amrex::Real &sp, amrex::Real &sedge1, amrex::Real &sedge2, const amrex::Array4< const amrex::Real > &s, const int bclo, const int bchi, const int domlo, const int domhi)
 
template<typename Limiter >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void PredictVelOnXFace (const int i, const int j, const int k, const int n, const amrex::Real dtdx, const amrex::Real v_ad, const amrex::Array4< const amrex::Real > &S, const amrex::Array4< amrex::Real > &Im, const amrex::Array4< amrex::Real > &Ip, const amrex::BCRec bc, const int domlo, const int domhi, const Limiter &limiter)
 
template<typename Limiter >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void PredictVelOnYFace (const int i, const int j, const int k, const int n, const amrex::Real dtdy, const amrex::Real v_ad, const amrex::Array4< const amrex::Real > &S, const amrex::Array4< amrex::Real > &Im, const amrex::Array4< amrex::Real > &Ip, const amrex::BCRec bc, const int domlo, const int domhi, const Limiter &limiter)
 
template<typename Limiter >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void PredictStateOnXFace (const int i, const int j, const int k, const int n, const amrex::Real dt, const amrex::Real dx, amrex::Real &Im, amrex::Real &Ip, const amrex::Array4< const amrex::Real > &S, const amrex::Array4< const amrex::Real > &vel_edge, const amrex::BCRec bc, const int domlo, const int domhi, const Limiter &limiter)
 
template<typename Limiter >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void PredictStateOnYFace (const int i, const int j, const int k, const int n, const amrex::Real dt, const amrex::Real dx, amrex::Real &Im, amrex::Real &Ip, const amrex::Array4< const amrex::Real > &S, const amrex::Array4< const amrex::Real > &vel_edge, const amrex::BCRec bc, const int domlo, const int domhi, const Limiter &limiter)
 
template<typename Limiter >
void PredictVelOnFaces (amrex::Box const &bx, 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 &q, amrex::Array4< amrex::Real const > const &vel, amrex::Geometry geom, amrex::Real dt, amrex::BCRec const *pbc, const Limiter &limiter)
 
template<typename Limiter >
void PredictStateOnFaces (amrex::Box const &bx, 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_D_DECL(amrex::Array4< amrex::Real const > const &umac, amrex::Array4< amrex::Real const > const &vmac, amrex::Array4< amrex::Real const > const &wmac), amrex::Array4< amrex::Real const > const &q, amrex::Geometry geom, amrex::Real l_dt, amrex::BCRec const *pbc, const int ncomp, const Limiter &limiter)
 

Enumeration Type Documentation

◆ limiters

Enumerator
VanLeer 
WENOZ 
NoLimiter 

Function Documentation

◆ PredictStateOnFaces()

template<typename Limiter >
void PPM::PredictStateOnFaces ( amrex::Box const &  bx,
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_D_DECL(amrex::Array4< amrex::Real const > const &umac, amrex::Array4< amrex::Real const > const &vmac, amrex::Array4< amrex::Real const > const &wmac)  ,
amrex::Array4< amrex::Real const > const &  q,
amrex::Geometry  geom,
amrex::Real  l_dt,
amrex::BCRec const *  pbc,
const int  ncomp,
const Limiter &  limiter 
)
Here is the call graph for this function:

◆ PredictStateOnXFace()

template<typename Limiter >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void PPM::PredictStateOnXFace ( const int  i,
const int  j,
const int  k,
const int  n,
const amrex::Real  dt,
const amrex::Real  dx,
amrex::Real &  Im,
amrex::Real &  Ip,
const amrex::Array4< const amrex::Real > &  S,
const amrex::Array4< const amrex::Real > &  vel_edge,
const amrex::BCRec  bc,
const int  domlo,
const int  domhi,
const Limiter &  limiter 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PredictStateOnYFace()

template<typename Limiter >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void PPM::PredictStateOnYFace ( const int  i,
const int  j,
const int  k,
const int  n,
const amrex::Real  dt,
const amrex::Real  dx,
amrex::Real &  Im,
amrex::Real &  Ip,
const amrex::Array4< const amrex::Real > &  S,
const amrex::Array4< const amrex::Real > &  vel_edge,
const amrex::BCRec  bc,
const int  domlo,
const int  domhi,
const Limiter &  limiter 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PredictVelOnFaces()

template<typename Limiter >
void PPM::PredictVelOnFaces ( amrex::Box const &  bx,
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 &  q,
amrex::Array4< amrex::Real const > const &  vel,
amrex::Geometry  geom,
amrex::Real  dt,
amrex::BCRec const *  pbc,
const Limiter &  limiter 
)
Here is the call graph for this function:

◆ PredictVelOnXFace()

template<typename Limiter >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void PPM::PredictVelOnXFace ( const int  i,
const int  j,
const int  k,
const int  n,
const amrex::Real  dtdx,
const amrex::Real  v_ad,
const amrex::Array4< const amrex::Real > &  S,
const amrex::Array4< amrex::Real > &  Im,
const amrex::Array4< amrex::Real > &  Ip,
const amrex::BCRec  bc,
const int  domlo,
const int  domhi,
const Limiter &  limiter 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ PredictVelOnYFace()

template<typename Limiter >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void PPM::PredictVelOnYFace ( const int  i,
const int  j,
const int  k,
const int  n,
const amrex::Real  dtdy,
const amrex::Real  v_ad,
const amrex::Array4< const amrex::Real > &  S,
const amrex::Array4< amrex::Real > &  Im,
const amrex::Array4< amrex::Real > &  Ip,
const amrex::BCRec  bc,
const int  domlo,
const int  domhi,
const Limiter &  limiter 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetXBCs()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void PPM::SetXBCs ( const int  i,
const int  j,
const int  k,
const int  n,
amrex::Real &  sm,
amrex::Real &  sp,
amrex::Real &  sedge1,
amrex::Real &  sedge2,
const amrex::Array4< const amrex::Real > &  s,
const int  bclo,
const int  bchi,
const int  domlo,
const int  domhi 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetYBCs()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void PPM::SetYBCs ( const int  i,
const int  j,
const int  k,
const int  n,
amrex::Real &  sm,
amrex::Real &  sp,
amrex::Real &  sedge1,
amrex::Real &  sedge2,
const amrex::Array4< const amrex::Real > &  s,
const int  bclo,
const int  bchi,
const int  domlo,
const int  domhi 
)
Here is the call graph for this function:
Here is the caller graph for this function: