|
Proto
3.2
|
#include <Proto_Stencil.H>
Public Member Functions | |
Constructors | |
| Shift () | |
| Default Constructor. More... | |
| Shift (const Point &a_pt) | |
| Point Constructor. More... | |
| template<typename... vals> | |
| Shift (vals... args) | |
| Variadic Constructor. More... | |
Private Attributes | |
| Point | m_shift |
Methods | |
| Point & | point () |
| Get Shift Point. More... | |
| template<typename T > | |
| Stencil< T > | operator* (T a_coef) const |
| Scalar Multiplication. More... | |
| Shift | operator* (const Shift &a_shift) const |
| Convolution. More... | |
| int & | operator[] (int a_dir) |
| Componentwise Access. More... | |
| static Shift | Basis (int a_dir, int a_scale=1) |
| Basis Shift. More... | |
| static Shift | Zeros () |
| Zero Shift. More... | |
| static Shift | Ones (int a_scale=1) |
| Unit Shift. More... | |
| static Shift | X (int scale=1) |
| static Shift | Y (int scale=1) |
| static Shift | Z (int scale=1) |
A shift is an alias for a Point which is used solely to provide a fluent syntax for creating Stencils. Refer to the documentation for Stencil for an illustrative example.
1.8.13