Skip to content

Class TempLat::ListLaplacian

template <typename R>

ClassList > TempLat > ListLaplacian

A class which applies a minus sign. Holds the expression, only evaluates for a single element when you call Multiply::get(pIterCoords). More...

  • #include <listlaplacian.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
constexpr size_t NDim = GetNDim::get&lt;R&gt;()
const size_t size = [**tuple\_size**](structTempLat_1_1tuple__size.md)&lt;R&gt;::value

Public Functions

Type Name
ListLaplacian (const R & pR)
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::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-multiply

Public Static Attributes Documentation

variable NDim

constexpr size_t TempLat::ListLaplacian< R >::NDim;

variable size

const size_t TempLat::ListLaplacian< R >::size;

Public Functions Documentation

function ListLaplacian

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

function doWeNeedGhosts

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

function getComp

template<int N>
inline auto TempLat::ListLaplacian::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::ListLaplacian::operatorString () 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/listlaplacian.h