Proto  3.2
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
Proto::InterpStencil< T > Class Template Reference

#include <Proto_InterpStencil.H>

Public Member Functions

 InterpStencil ()
 
 InterpStencil (Point a_refRatio)
 
void define (Point a_refRatio)
 
Box domain (Box a_range) const
 
Box range (Box a_domain) const
 
Point ghost () const
 
Box span () const
 
Point ratio () const
 
template<unsigned int C, MemType MEM = MEMTYPE_DEFAULT, unsigned int D, unsigned int E>
void apply (BoxData< T, C, MEM, D, E > &a_output, const BoxData< T, C, MEM, D, E > &a_input, Box a_box, bool a_overwrite, T a_scale=1.0) const
 
template<unsigned int C, MemType MEM, unsigned int D, unsigned int E>
LazyInterpStencil< T, C, MEM, D, E > operator() (const BoxData< T, C, MEM, D, E > &a_input, T a_scale=1.0) const
 
template<unsigned int C, MemType MEM, unsigned int D, unsigned int E>
LazyInterpStencil< T, C, MEM, D, E > operator() (const BoxData< T, C, MEM, D, E > &a_input, Box a_range, T a_scale=1.0) const
 

Static Public Member Functions

static InterpStencil< T > Constant (Point a_refRatio)
 
static InterpStencil< T > Linear (Point a_refRatio)
 
static InterpStencil< T > Quadratic (Point a_refRatio)
 
static InterpStencil< T > FiniteVolume (Point a_refRatio, int a_order=5)
 

Private Attributes

Point m_ratio
 
Array< InterpStencil1D< T >, DIM > m_interp
 

Constructor & Destructor Documentation

◆ InterpStencil() [1/2]

template<typename T>
Proto::InterpStencil< T >::InterpStencil ( )
inline

◆ InterpStencil() [2/2]

template<typename T >
Proto::InterpStencil< T >::InterpStencil ( Point  a_refRatio)

Member Function Documentation

◆ Constant()

template<class T >
InterpStencil< T > Proto::InterpStencil< T >::Constant ( Point  a_refRatio)
inlinestatic

◆ Linear()

template<class T >
InterpStencil< T > Proto::InterpStencil< T >::Linear ( Point  a_refRatio)
inlinestatic

◆ Quadratic()

template<class T >
InterpStencil< T > Proto::InterpStencil< T >::Quadratic ( Point  a_refRatio)
inlinestatic

◆ FiniteVolume()

template<class T >
InterpStencil< T > Proto::InterpStencil< T >::FiniteVolume ( Point  a_refRatio,
int  a_order = 5 
)
inlinestatic

◆ define()

template<typename T >
void Proto::InterpStencil< T >::define ( Point  a_refRatio)

◆ domain()

template<typename T >
Box Proto::InterpStencil< T >::domain ( Box  a_range) const
inline

◆ range()

template<typename T >
Box Proto::InterpStencil< T >::range ( Box  a_domain) const
inline

◆ ghost()

template<typename T >
Point Proto::InterpStencil< T >::ghost ( ) const
inline

◆ span()

template<typename T >
Box Proto::InterpStencil< T >::span ( ) const
inline

◆ ratio()

template<typename T>
Point Proto::InterpStencil< T >::ratio ( ) const
inline

◆ apply()

template<typename T >
template<unsigned int C, MemType MEM, unsigned int D, unsigned int E>
void Proto::InterpStencil< T >::apply ( BoxData< T, C, MEM, D, E > &  a_output,
const BoxData< T, C, MEM, D, E > &  a_input,
Box  a_box,
bool  a_overwrite,
a_scale = 1.0 
) const
inline

◆ operator()() [1/2]

template<typename T >
template<unsigned int C, MemType MEM, unsigned int D, unsigned int E>
LazyInterpStencil< T, C, MEM, D, E > Proto::InterpStencil< T >::operator() ( const BoxData< T, C, MEM, D, E > &  a_input,
a_scale = 1.0 
) const
inline

◆ operator()() [2/2]

template<typename T >
template<unsigned int C, MemType MEM, unsigned int D, unsigned int E>
LazyInterpStencil< T, C, MEM, D, E > Proto::InterpStencil< T >::operator() ( const BoxData< T, C, MEM, D, E > &  a_input,
Box  a_range,
a_scale = 1.0 
) const
inline

Member Data Documentation

◆ m_ratio

template<typename T>
Point Proto::InterpStencil< T >::m_ratio
private

◆ m_interp

template<typename T>
Array<InterpStencil1D<T>, DIM> Proto::InterpStencil< T >::m_interp
private

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