LoAdSG
ShiftOperator Class Reference

#include <shift.h>

Public Member Functions

 ShiftOperator (int d, Direction s)
 
 ShiftOperator (int d, Direction s, int level)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ShiftOperator() [1/2]

ShiftOperator::ShiftOperator ( int  d,
Direction  s 
)
inline
Parameters
intd: dimension
LeftRights: shift left or right here we have a hierarchical shift, i.e. we get the "left" father and "right" father

◆ ShiftOperator() [2/2]

ShiftOperator::ShiftOperator ( int  d,
Direction  s,
int  level 
)
inline
Parameters
ddimension
sshift left (= LeftShift) or right (=RightShift)
levelshift on a fixed level

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