Skip to content

Class TempLat::ComplexFieldBinaryOperator

template <typename R, typename T>

ClassList > TempLat > ComplexFieldBinaryOperator

A class which gtoups common features of binary field operators. More...

  • #include <complexfieldbinaryoperator.h>

Inherited by the following classes: TempLat::ComplexFieldAddition, TempLat::ComplexFieldMultiplication, TempLat::ComplexFieldSubtraction, TempLat::SU2DoubletDotter, TempLat::ScalarComplexFieldMultiply

Public Types

Type Name
typedef ComplexFieldGetter Getter

Public Static Attributes

Type Name
constexpr size_t size = 2

Public Functions

Type Name
ComplexFieldBinaryOperator (const R & pR, const T & pT)
auto getDx () const
auto getKIR () 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 () 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-complexfieldbinaryoperator

Public Types Documentation

typedef Getter

using TempLat::ComplexFieldBinaryOperator< R, T >::Getter =  ComplexFieldGetter;

Public Static Attributes Documentation

variable size

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

Public Functions Documentation

function ComplexFieldBinaryOperator

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

function getDx

inline auto TempLat::ComplexFieldBinaryOperator::getDx () const

function getKIR

inline auto TempLat::ComplexFieldBinaryOperator::getKIR () const

function getToolBox

inline auto TempLat::ComplexFieldBinaryOperator::getToolBox () const

function operatorString

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

virtual std::string TempLat::ComplexFieldBinaryOperator::operatorString () const = 0


function postGet

inline void TempLat::ComplexFieldBinaryOperator::postGet () 

function preGet

inline void TempLat::ComplexFieldBinaryOperator::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.

inline std::string TempLat::ComplexFieldBinaryOperator::toString () const


Public Static Functions Documentation

function getNDim

static inline consteval size_t TempLat::ComplexFieldBinaryOperator::getNDim () 

Protected Attributes Documentation

variable mR

R TempLat::ComplexFieldBinaryOperator< R, T >::mR;

variable mT

T TempLat::ComplexFieldBinaryOperator< R, T >::mT;


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