Skip to content

Class TempLat::SU2DoubletBinaryOperator

template <typename R, typename T>

ClassList > TempLat > SU2DoubletBinaryOperator

A class which implements common features to SU2Doublet binary operators.More...

  • #include <su2doubletbinaryoperator.h>

Inherited by the following classes: TempLat::ComplexFieldSU2DoubletMultiplication, TempLat::SU2DoubletAddition, TempLat::SU2DoubletSubtract, TempLat::SU2SU2DoubletMultiplication

Public Types

Type Name
typedef SU2DoubletGetter Getter

Public Static Attributes

Type Name
constexpr size_t size = 4

Public Functions

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

Public Types Documentation

typedef Getter

using TempLat::SU2DoubletBinaryOperator< R, T >::Getter =  SU2DoubletGetter;

Public Static Attributes Documentation

variable size

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

Public Functions Documentation

function SU2DoubletBinaryOperator

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

function getDx

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

function getKIR

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

function getToolBox

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

function operatorString

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

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


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::SU2DoubletBinaryOperator::toString () const


Public Static Functions Documentation

function getNDim

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

Protected Attributes Documentation

variable mR

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

variable mT

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


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