Skip to content

Class TempLat::ListShifter

template <class R, int... N>

ClassList > TempLat > ListShifter

A class which implements shifts for the list algebra. More...

  • #include <listshift.h>

Inherits the following classes: TempLat::ListUnaryOperator

Public Types inherited from TempLat::ListUnaryOperator

See TempLat::ListUnaryOperator

Type Name
typedef GetComponent Getter

Public Static Attributes

Type Name
const size_t size = [**tuple\_size**](structTempLat_1_1tuple__size.md)&lt;R&gt;::value

Public Functions

Type Name
ListShifter (const R & pR)
void doWeNeedGhosts (Tag< M > i)
auto getComp (Tag< M > t) const
virtual std::string operatorString () override const
Override this method in your derived class, to have an easy implementation of your toString method.

Public Functions inherited from TempLat::ListUnaryOperator

See TempLat::ListUnaryOperator

Type Name
ListUnaryOperator (const R & pR)
device::Idx confirmGhostsUpToDate (Tag< N > i) const
void confirmSpace (Tag< N > i, const LayoutStruct< NDim > & newLayout, const SpaceStateType & spaceType) const
auto getToolBox () const
virtual std::string operatorString () const
Override this method in your derived class, to have an easy implementation of your toString method.
std::string toString (Tag< N > i) 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::ListUnaryOperator

See TempLat::ListUnaryOperator

Type Name
consteval size_t getNDim ()

Protected Attributes inherited from TempLat::ListUnaryOperator

See TempLat::ListUnaryOperator

Type Name
R mR

Detailed Description

Unit test: ctest -R test-listshift

Public Static Attributes Documentation

variable size

const size_t TempLat::ListShifter< R, N >::size;

Public Functions Documentation

function ListShifter

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

function doWeNeedGhosts

template<int M>
inline void TempLat::ListShifter::doWeNeedGhosts (
    Tag < M > i
) 

function getComp

template<int M>
inline auto TempLat::ListShifter::getComp (
    Tag < M > t
) const

function operatorString

Override this method in your derived class, to have an easy implementation of your toString method.

inline virtual std::string TempLat::ListShifter::operatorString () override const

Implements TempLat::ListUnaryOperator::operatorString



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