Grid 0.7.0
GeneralLocalStencil.h File Reference

Go to the source code of this file.

Data Structures

struct  GeneralStencilEntry
struct  GeneralStencilEntryReordered
class  GeneralLocalStencilView
class  GeneralLocalStencil
class  shiftSignal

Functions

 NAMESPACE_BEGIN (Grid)
int Back (const int dir)
 signals that you want to go backwards in direction dir
template<typename... Args>
void generalShift (Coordinate &shift, int dir)
 shift one unit in direction dir
template<typename... Args>
void generalShift (Coordinate &shift, int dir, Args... args)
 follow a path of directions, shifting one unit in each direction
 NAMESPACE_END (Grid)

Function Documentation

◆ NAMESPACE_BEGIN()

NAMESPACE_BEGIN ( Grid )

◆ Back()

int Back ( const int dir)
inline

signals that you want to go backwards in direction dir

Definition at line 167 of file GeneralLocalStencil.h.

References shiftSignal::BACKWARD_CONST.

Referenced by Smear_HISQ< Gimpl >::smear().

◆ generalShift() [1/2]

template<typename... Args>
void generalShift ( Coordinate & shift,
int dir )

shift one unit in direction dir

Definition at line 175 of file GeneralLocalStencil.h.

References shiftSignal::BACKWARD_CONST, and shiftSignal::NO_SHIFT.

Referenced by appendShift(), and generalShift().

◆ generalShift() [2/2]

template<typename... Args>
void generalShift ( Coordinate & shift,
int dir,
Args... args )

follow a path of directions, shifting one unit in each direction

Definition at line 188 of file GeneralLocalStencil.h.

References shiftSignal::BACKWARD_CONST, generalShift(), and shiftSignal::NO_SHIFT.

◆ NAMESPACE_END()

NAMESPACE_END ( Grid )