Skip to content

Class TempLat::ListPower

template <typename R, typename T>

ClassList > TempLat > ListPower

Inherits the following classes: TempLat::ListBinaryOperator

Public Types inherited from TempLat::ListBinaryOperator

See TempLat::ListBinaryOperator

Type Name
typedef GetComponent Getter

Public Static Attributes

Type Name
constexpr size_t size = std::max([**tuple\_size**](structTempLat_1_1tuple__size.md)&lt;R&gt;::value, [**tuple\_size**](structTempLat_1_1tuple__size.md)&lt;T&gt;::value)

Public Functions

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

Public Functions inherited from TempLat::ListBinaryOperator

See TempLat::ListBinaryOperator

Type Name
ListBinaryOperator (const R & pR, const T & pT)
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 = 0
Override this method in your derived class, to have an easy implementation of your toString method.
void postGet ()
void preGet ()
std::string toString (Tag< N > i) const
If your descending class implements operatorString() and your operator is of the type "a OP b" (where OP is * or whatever), this toString method does all the work for you.

Public Static Functions inherited from TempLat::ListBinaryOperator

See TempLat::ListBinaryOperator

Type Name
consteval size_t getNDim ()

Protected Attributes inherited from TempLat::ListBinaryOperator

See TempLat::ListBinaryOperator

Type Name
R mR
T mT

Public Static Attributes Documentation

variable size

constexpr size_t TempLat::ListPower< R, T >::size;

Public Functions Documentation

function ListPower

inline TempLat::ListPower::ListPower (
    const R & pR,
    const T & pT
) 

function doWeNeedGhosts

template<int N>
inline void TempLat::ListPower::doWeNeedGhosts (
    Tag < N > i
) 

function getComp

template<int N>
inline auto TempLat::ListPower::getComp (
    Tag < N > t
) 

function operatorString

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

inline virtual std::string TempLat::ListPower::operatorString () const

Implements TempLat::ListBinaryOperator::operatorString



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