Skip to content

Class TempLat::SU2ShifterByOne

template <typename R, int _N>

ClassList > TempLat > SU2ShifterByOne

Inherits the following classes: TempLat::SU2UnaryOperator

Public Types inherited from TempLat::SU2UnaryOperator

See TempLat::SU2UnaryOperator

Type Name
typedef SU2Getter Getter

Public Static Attributes inherited from TempLat::SU2UnaryOperator

See TempLat::SU2UnaryOperator

Type Name
constexpr size_t size = 4

Public Functions

Type Name
auto SU2Get (Tag< M > t) const
SU2ShifterByOne (const R & pR)
void doWeNeedGhosts () const
DEVICE_INLINE_FUNCTION auto eval (const IDX &... idx) const
std::string toString () const

Public Functions inherited from TempLat::SU2UnaryOperator

See TempLat::SU2UnaryOperator

Type Name
SU2UnaryOperator (const R & pR)
device::Idx confirmGhostsUpToDate () const
void confirmSpace (const LayoutStruct< NDim > & newLayout, const SpaceStateType & spaceType) const
void doWeNeedGhosts () const
Space/ghost confirmation by walking the operand's structure (see SU2BinaryOperator ). Note: shifters (SU2Shifter/SU2ShifterByOne) OVERRIDE doWeNeedGhosts to trigger the actual ghost exchange for the shifted read.
DEVICE_INLINE_FUNCTION auto eval (const IDX &... idx) const
auto getDx () const
auto getKIR () const
const R & getOperand () const
Access the single operand. Used by the algebraic simplification rules (e.g. dagger involution / shift, see su2dagger.h ).
auto getToolBox () const
virtual std::string operatorString () const
Override this method in your derived class, to have an easy implementation of your toString method.
void postGet ()
void preGet ()
std::string toString () const
If your descending class implements operatorString() and your operator is of the type "OP b" (where OP is * or whatever), this toString method does all the work for you, only adding parentheses if b contains spaces.

Public Static Functions inherited from TempLat::SU2UnaryOperator

See TempLat::SU2UnaryOperator

Type Name
consteval size_t getNDim ()

Protected Attributes inherited from TempLat::SU2UnaryOperator

See TempLat::SU2UnaryOperator

Type Name
R mR

Public Functions Documentation

function SU2Get

template<int M>
inline auto TempLat::SU2ShifterByOne::SU2Get (
    Tag < M > t
) const

function SU2ShifterByOne

inline TempLat::SU2ShifterByOne::SU2ShifterByOne (
    const R & pR
) 

function doWeNeedGhosts

inline void TempLat::SU2ShifterByOne::doWeNeedGhosts () const

function eval

template<typename... IDX>
inline DEVICE_INLINE_FUNCTION auto TempLat::SU2ShifterByOne::eval (
    const IDX &... idx
) const

function toString

inline std::string TempLat::SU2ShifterByOne::toString () const


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/algebra/su2algebra/su2shift.h