Class TempLat::ListUnaryOperator
template <typename R>
ClassList > TempLat > ListUnaryOperator
A class which. More...
#include <listunaryoperator.h>
Inherited by the following classes: TempLat::ListAbsoluteValue, TempLat::ListComplexConjugate, TempLat::ListExponential, TempLat::ListLaplacian, TempLat::ListLog, TempLat::ListPowerN, TempLat::ListShifter, TempLat::ListShifterByOne, TempLat::ListUnaryMinus
Public Types
| Type | Name |
|---|---|
| typedef GetComponent | Getter |
Public Functions
| 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
| Type | Name |
|---|---|
| consteval size_t | getNDim () |
Protected Attributes
| Type | Name |
|---|---|
| R | mR |
Detailed Description
Unit test: ctest -R test-listunaryoperator
Public Types Documentation
typedef Getter
Public Functions Documentation
function ListUnaryOperator
function confirmGhostsUpToDate
template<int N>
inline device::Idx TempLat::ListUnaryOperator::confirmGhostsUpToDate (
Tag < N > i
) const
function confirmSpace
template<int N, size_t NDim>
inline void TempLat::ListUnaryOperator::confirmSpace (
Tag < N > i,
const LayoutStruct < NDim > & newLayout,
const SpaceStateType & spaceType
) const
function getToolBox
For measurement objects.
function operatorString
Override this method in your derived class, to have an easy implementation of your toString method.
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.
Public Static Functions Documentation
function getNDim
Protected Attributes Documentation
variable mR
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/algebra/listoperators/listunaryoperator.h