Skip to content

Class TempLat::SU2DoubletShifterByOne

template <typename R, int _N>

ClassList > TempLat > SU2DoubletShifterByOne

Inherits the following classes: TempLat::SU2DoubletUnaryOperator

Public Types inherited from TempLat::SU2DoubletUnaryOperator

See TempLat::SU2DoubletUnaryOperator

Type Name
typedef SU2DoubletGetter Getter

Public Static Attributes inherited from TempLat::SU2DoubletUnaryOperator

See TempLat::SU2DoubletUnaryOperator

Type Name
constexpr size_t size = 4

Public Functions

Type Name
auto SU2DoubletGet (Tag< M > t) const
SU2DoubletShifterByOne (const R & pR)
DEVICE_INLINE_FUNCTION auto eval (const IDX &... idx) const
virtual 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 Functions inherited from TempLat::SU2DoubletUnaryOperator

See TempLat::SU2DoubletUnaryOperator

Type Name
SU2DoubletUnaryOperator (const R & pR)
DEVICE_INLINE_FUNCTION auto eval (const IDX &... idx) const
auto getDx () const
auto getKIR () 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 ()
virtual 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::SU2DoubletUnaryOperator

See TempLat::SU2DoubletUnaryOperator

Type Name
consteval size_t getNDim ()

Protected Attributes inherited from TempLat::SU2DoubletUnaryOperator

See TempLat::SU2DoubletUnaryOperator

Type Name
R mR

Public Functions Documentation

function SU2DoubletGet

template<int M>
inline auto TempLat::SU2DoubletShifterByOne::SU2DoubletGet (
    Tag < M > t
) const

function SU2DoubletShifterByOne

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

function eval

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

function toString

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.

inline virtual std::string TempLat::SU2DoubletShifterByOne::toString () const

Implements TempLat::SU2DoubletUnaryOperator::toString



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