Block-Structured AMR Software Framework
amrex::openbc Namespace Reference

Classes

struct  Moments
 
struct  MomTag
 

Functions

std::ostream & operator<< (std::ostream &os, Moments const &mom)
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void scale_moments (openbc::Moments::array_type &mom)
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE Real block_potential (openbc::Moments const &mom, Real xb, Real yb, Real zb)
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void interp_coef (int i, int ii, Real *AMREX_RESTRICT c, int crse_ratio)
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE Real interpccx (int ii, int j, int k, Array4< Real const > const &phi, int crse_ratio)
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE Real interpccy (int i, int jj, int k, Array4< Real const > const &phi, int crse_ratio)
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE Real interpccz (int i, int j, int kk, Array4< Real const > const &phi, int crse_ratio)
 

Variables

static constexpr int M = 7
 
static constexpr int P = 3
 

Function Documentation

◆ block_potential()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE Real amrex::openbc::block_potential ( openbc::Moments const &  mom,
Real  xb,
Real  yb,
Real  zb 
)

◆ interp_coef()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE void amrex::openbc::interp_coef ( int  i,
int  ii,
Real *AMREX_RESTRICT  c,
int  crse_ratio 
)

◆ interpccx()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE Real amrex::openbc::interpccx ( int  ii,
int  j,
int  k,
Array4< Real const > const &  phi,
int  crse_ratio 
)

◆ interpccy()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE Real amrex::openbc::interpccy ( int  i,
int  jj,
int  k,
Array4< Real const > const &  phi,
int  crse_ratio 
)

◆ interpccz()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE Real amrex::openbc::interpccz ( int  i,
int  j,
int  kk,
Array4< Real const > const &  phi,
int  crse_ratio 
)

◆ operator<<()

std::ostream & amrex::openbc::operator<< ( std::ostream &  os,
Moments const &  mom 
)

◆ scale_moments()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE void amrex::openbc::scale_moments ( openbc::Moments::array_type mom)

Variable Documentation

◆ M

constexpr int amrex::openbc::M = 7
staticconstexpr

◆ P

constexpr int amrex::openbc::P = 3
staticconstexpr