LoAdSG
|
#include <shift.h>
Public Member Functions | |
ShiftOperator (int d, Direction s) | |
ShiftOperator (int d, Direction s, int level) | |
Example:
ShiftOperator Left(0,LeftShift); VectorSparseG a(AdaptiveSparseGrid); VectorSparseG b(AdaptiveSparseGrid); ... a = L(b);
Then a contains the hierarchical to the left shifted values of b.
|
inline |
int | d: dimension |
LeftRight | s: shift left or right here we have a hierarchical shift, i.e. we get the "left" father and "right" father |
|
inline |
d | dimension |
s | shift left (= LeftShift) or right (=RightShift) |
level | shift on a fixed level |