Skip to content

Class TempLat::SymTracelessUnaryOperator

template <typename R>

ClassList > TempLat > SymTracelessUnaryOperator

A class which groups common features of unary complex field operators. More...

  • #include <symtracelessunaryoperator.h>

Inherited by the following classes: TempLat::SymTracelessConjugate, TempLat::SymTracelessFieldShifter, TempLat::SymTracelessFieldShifterByOne

Public Types

Type Name
typedef SymTracelessGetter Getter

Public Static Attributes

Type Name
constexpr size_t size = 5

Public Functions

Type Name
SymTracelessUnaryOperator (const R & pR)
auto getDx () const
auto getKIR () const
virtual std::string operatorString () const
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 "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-complexfieldunaryoperator

Public Types Documentation

typedef Getter

using TempLat::SymTracelessUnaryOperator< R >::Getter =  SymTracelessGetter;

Public Static Attributes Documentation

variable size

constexpr size_t TempLat::SymTracelessUnaryOperator< R >::size;

Public Functions Documentation

function SymTracelessUnaryOperator

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

function getDx

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

function getKIR

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

function operatorString

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

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


function postGet

inline void TempLat::SymTracelessUnaryOperator::postGet () 

function preGet

inline void TempLat::SymTracelessUnaryOperator::preGet () 

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.

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


Public Static Functions Documentation

function getNDim

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

Protected Attributes Documentation

variable mR

R TempLat::SymTracelessUnaryOperator< R >::mR;


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