ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <ERF_Interpolation_UPW.H>
Public Member Functions | |
UPWIND5 (const amrex::Array4< const amrex::Real > &phi, const amrex::Real upw_frac) | |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void | InterpolateInX (const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void | InterpolateInY (const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void | InterpolateInZ (const int &i, const int &j, const int &k, const int &qty_index, amrex::Real &val_lo, amrex::Real upw_lo) const |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | Evaluate (const amrex::Real &sp2, const amrex::Real &sp1, const amrex::Real &s, const amrex::Real &sm1, const amrex::Real &sm2, const amrex::Real &sm3, const amrex::Real &upw) const |
int | GetUpwindCellNumber () const |
void | SetUpwinding (amrex::Real upw_frac) |
Private Attributes | |
amrex::Array4< const amrex::Real > | m_phi |
amrex::Real | m_upw_frac |
Static Private Attributes | |
static constexpr amrex::Real | g1 =(37.0/60.0) |
static constexpr amrex::Real | g2 =(2.0/15.0) |
static constexpr amrex::Real | g3 =(1.0/60.0) |
Interpolation operators used for 5th order upwind scheme
|
inline |
|
inline |
Referenced by InterpolateInX(), InterpolateInY(), and InterpolateInZ().
|
inline |
|
inline |
|
inline |
|
inline |
|
staticconstexprprivate |
Referenced by Evaluate().
|
staticconstexprprivate |
Referenced by Evaluate().
|
staticconstexprprivate |
Referenced by Evaluate().
|
private |
Referenced by InterpolateInX(), InterpolateInY(), and InterpolateInZ().
|
private |
Referenced by InterpolateInX(), InterpolateInY(), InterpolateInZ(), and SetUpwinding().