Alamo
Static Public Member Functions | Static Public Attributes
Numeric::Interpolate Struct Reference

Static Public Member Functions

template<class T >
static AMREX_FORCE_INLINE T CellToNodeAverage (const amrex::Array4< const T > &f, const int &i, const int &j, const int &k, const int &m, std::array< StencilType, AMREX_SPACEDIM > stencil=DefaultType)
 
template<class T >
static AMREX_FORCE_INLINE T CellToNodeAverage (const amrex::Array4< T > &f, const int &i, const int &j, const int &k, const int &m, std::array< StencilType, AMREX_SPACEDIM > stencil=DefaultType)
 
template<class T >
static AMREX_FORCE_INLINE T NodeToCellAverage (const amrex::Array4< const T > &f, const int &i, const int &j, const int &k, const int &m)
 
template<class T >
static AMREX_FORCE_INLINE T NodeToCellAverage (const amrex::Array4< T > &f, const int &i, const int &j, const int &k, const int &m)
 

Static Public Attributes

constexpr static Set::Scalar fac = AMREX_D_PICK(0.5, 0.25, 0.125)
 

Detailed Description

Definition at line 1251 of file Stencil.H.

Member Function Documentation

◆ CellToNodeAverage() [1/2]

template<class T >
static AMREX_FORCE_INLINE T Numeric::Interpolate::CellToNodeAverage ( const amrex::Array4< const T > &  f,
const int &  i,
const int &  j,
const int &  k,
const int &  m,
std::array< StencilType, AMREX_SPACEDIM >  stencil = DefaultType 
)
inlinestatic

Definition at line 1256 of file Stencil.H.

◆ CellToNodeAverage() [2/2]

template<class T >
static AMREX_FORCE_INLINE T Numeric::Interpolate::CellToNodeAverage ( const amrex::Array4< T > &  f,
const int &  i,
const int &  j,
const int &  k,
const int &  m,
std::array< StencilType, AMREX_SPACEDIM >  stencil = DefaultType 
)
inlinestatic

Definition at line 1275 of file Stencil.H.

◆ NodeToCellAverage() [1/2]

template<class T >
static AMREX_FORCE_INLINE T Numeric::Interpolate::NodeToCellAverage ( const amrex::Array4< const T > &  f,
const int &  i,
const int &  j,
const int &  k,
const int &  m 
)
inlinestatic

Definition at line 1294 of file Stencil.H.

◆ NodeToCellAverage() [2/2]

template<class T >
static AMREX_FORCE_INLINE T Numeric::Interpolate::NodeToCellAverage ( const amrex::Array4< T > &  f,
const int &  i,
const int &  j,
const int &  k,
const int &  m 
)
inlinestatic

Definition at line 1307 of file Stencil.H.

Field Documentation

◆ fac

constexpr static Set::Scalar Numeric::Interpolate::fac = AMREX_D_PICK(0.5, 0.25, 0.125)
staticconstexpr

Definition at line 1318 of file Stencil.H.


The documentation for this struct was generated from the following file: