Class TempLat::ListBinaryOperator
template <typename R, typename T>
ClassList > TempLat > ListBinaryOperator
Wrapper for algebra with FieldCollection . Here we define the base methods for checking and everything. Can use this algebra to implement matrix and vector algebra! IDEA: statically type MATRIXTYPE type and template methods of the type AddMatrixTypes<R,T>::type.More...
#include <listbinaryoperator.h>
Inherited by the following classes: TempLat::ListAddition, TempLat::ListDivision, TempLat::ListMultiplication, TempLat::ListPower, TempLat::ListSubtraction
Public Types
| Type | Name |
|---|---|
| typedef GetComponent | Getter |
Public Functions
| 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
| Type | Name |
|---|---|
| consteval size_t | getNDim () |
Protected Attributes
| Type | Name |
|---|---|
| R | mR |
| T | mT |
Detailed Description
Unit test: ctest -R test-binaryoperator
Public Types Documentation
typedef Getter
Public Functions Documentation
function ListBinaryOperator
function confirmGhostsUpToDate
template<int N>
inline device::Idx TempLat::ListBinaryOperator::confirmGhostsUpToDate (
Tag < N > i
) const
function confirmSpace
template<int N, size_t NDim>
inline void TempLat::ListBinaryOperator::confirmSpace (
Tag < N > i,
const LayoutStruct < NDim > & newLayout,
const SpaceStateType & spaceType
) const
function getToolBox
function operatorString
Override this method in your derived class, to have an easy implementation of your toString method.
function postGet
function preGet
function toString
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 Documentation
function getNDim
Protected Attributes Documentation
variable mR
variable mT
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/algebra/listoperators/listbinaryoperator.h