Skip to content

Class TempLat::ScalarSU2Multiplication

template <typename R, typename T>

ClassList > TempLat > ScalarSU2Multiplication

A class which multiplies SU2 field by complex fields. More...

  • #include <scalarsu2multiplication.h>

Inherits the following classes: TempLat::SU2BinaryOperator

Public Types

Type Name
typedef typename SU2GetGetReturnType< T >::type SV

Public Types inherited from TempLat::SU2BinaryOperator

See TempLat::SU2BinaryOperator

Type Name
typedef SU2Getter Getter

Public Static Attributes inherited from TempLat::SU2BinaryOperator

See TempLat::SU2BinaryOperator

Type Name
constexpr size_t size = 4

Public Functions

Type Name
auto SU2Get (Tag< N > t) const
ScalarSU2Multiplication (const R & pR, const T & pT)
DEVICE_INLINE_FUNCTION auto eval (const IDX &... idx) const
auto operator() (Tag< N > t) const
virtual std::string operatorString () override const
Override this method in your derived class, to have an easy implementation of your toString method.

Public Functions inherited from TempLat::SU2BinaryOperator

See TempLat::SU2BinaryOperator

Type Name
SU2BinaryOperator (const R & pR, const T & pT)
device::Idx confirmGhostsUpToDate () const
void confirmSpace (const LayoutStruct< NDim > & newLayout, const SpaceStateType & spaceType) const
void doWeNeedGhosts () const
Space/ghost confirmation by walking this SU(2) expression's own (linear) structure - forwarded to both operands, mirroring the generic BinaryOperator . This lets an SU(2) assignment confirm space/ghosts on the whole expression instead of building the exponential per-component SU2Get expansion just for confirmation (see_su2liealgebrafield.h /su2field.h _operator=).
auto getDx () const
const R & getFirst () const
Access the two operands. Used by the algebraic simplification rules (e.g. the dagger anti-homomorphism (A.B)^dagger = B^dagger.A^dagger, see su2dagger.h ).
auto getKIR () const
const T & getSecond () 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.
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 inherited from TempLat::SU2BinaryOperator

See TempLat::SU2BinaryOperator

Type Name
consteval size_t getNDim ()

Protected Attributes inherited from TempLat::SU2BinaryOperator

See TempLat::SU2BinaryOperator

Type Name
R mR
T mT

Detailed Description

Unit test: ctest -R test-complexfieldsu2multiply

Public Types Documentation

typedef SV

using TempLat::ScalarSU2Multiplication< R, T >::SV =  typename SU2GetGetReturnType<T>::type;

Public Functions Documentation

function SU2Get

template<int N>
inline auto TempLat::ScalarSU2Multiplication::SU2Get (
    Tag < N > t
) const

function ScalarSU2Multiplication

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

function eval

template<typename... IDX>
inline DEVICE_INLINE_FUNCTION auto TempLat::ScalarSU2Multiplication::eval (
    const IDX &... idx
) const

function operator()

template<int N>
inline auto TempLat::ScalarSU2Multiplication::operator() (
    Tag < N > t
) const

function operatorString

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

inline virtual std::string TempLat::ScalarSU2Multiplication::operatorString () override const

Implements TempLat::SU2BinaryOperator::operatorString



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