Proto
Public Member Functions | Static Public Member Functions
Proto::InterpStencil< T > Class Template Reference

Interpolation Stencil. More...

#include <Proto_Stencil.H>

Public Member Functions

 InterpStencil ()
 Default Constructor.
 
 InterpStencil (int a_ratio)
 Isotropic Constructor. More...
 
 InterpStencil (Point a_ratio)
 Anisotropic Constructor. More...
 
void define (Point a_ratio)
 Define. More...
 
Stencil< T > & operator() (Point a_p)
 Get Read-Write Stencil Subcomponent. More...
 
const Stencil< T > & get (Point a_p) const
 Get Read-Only Stencil Subcomponent. More...
 
Box span ()
 Span. More...
 
template<unsigned int C, MemType MEMTYPE, unsigned char D, unsigned char E>
LazyStencil< T, C, MEMTYPE, D, E > operator() (const BoxData< T, C, MEMTYPE, D, E > &a_src, T a_scale=1) const
 Lazy Apply. More...
 
template<unsigned int C, MemType MEMTYPE, unsigned char D, unsigned char E>
LazyStencil< T, C, MEMTYPE, D, E > operator() (const BoxData< T, C, MEMTYPE, D, E > &a_src, Box a_box, T a_scale=1) const
 Lazy Apply. More...
 
Box kernel () const
 Return Shift Kernel.
 
Point ratio () const
 Return Destination Refinement Ratio.
 
std::vector< Stencil< T > >::iterator begin ()
 Iterate Over Stencil Components.
 
std::vector< Stencil< T > >::iterator end ()
 Iterate Over Stencil Components.
 
bool empty ()
 Empty Query.
 
unsigned long long int size () const
 Size Query. More...
 

Static Public Member Functions

static InterpStencil< T > PiecewiseConstant (Point a_ratio)
 Piecewise Constant Interpolation. More...
 
static InterpStencil< T > PiecewiseLinear (Point a_ratio)
 Piecewise Linear Interpolation. More...
 
static InterpStencil< T > Quadratic (int a_ratio)
 Piecewise Linear Interpolation. More...
 
static InterpStencil< T > Build (int a_shiftMax, Box a_shiftKernel, int a_order, int a_refRatio)
 Build General High-Order Interpolation Stencil. More...
 
static InterpStencil< T > Build (std::vector< Point > &a_shifts, int a_maxOrder, int a_refRatio)
 Build General High-Order Interpolation Stencil. More...
 
static InterpStencil< T > Build (std::vector< Point > &a_shifts, const std::vector< Point > &a_orders, int a_refRatio)
 Build General High-Order Interpolation Stencil. More...
 

Detailed Description

template<class T>
class Proto::InterpStencil< T >

Interpolation Stencil.

InterpStencil is a convenient abstraction which encapsulates the functionality of an operation in which the destination refinement is non-trivial. This kind of operation can be done with normal Stencil objects, however for a destination refinement of R, an array of R^DIM Stencils will be needed in general.


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