Skip to content

Class TempLat::ComplexFieldMultiplication

template <class R, class T>

ClassList > TempLat > ComplexFieldMultiplication

A class which multiplies two complex fields. More...

  • #include <complexfieldmultiply.h>

Inherits the following classes: TempLat::ComplexFieldBinaryOperator

Public Types inherited from TempLat::ComplexFieldBinaryOperator

See TempLat::ComplexFieldBinaryOperator

Type Name
typedef ComplexFieldGetter Getter

Public Static Attributes inherited from TempLat::ComplexFieldBinaryOperator

See TempLat::ComplexFieldBinaryOperator

Type Name
constexpr size_t size = 2

Public Functions

Type Name
auto ComplexFieldGet (Tag< 0 > t) const
auto ComplexFieldGet (Tag< 1 > t) const
ComplexFieldMultiplication (const R & pR, const T & pT)
DEVICE_INLINE_FUNCTION auto eval (const IDX &... idx) 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::ComplexFieldBinaryOperator

See TempLat::ComplexFieldBinaryOperator

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 inherited from TempLat::ComplexFieldBinaryOperator

See TempLat::ComplexFieldBinaryOperator

Type Name
consteval size_t getNDim ()

Protected Attributes inherited from TempLat::ComplexFieldBinaryOperator

See TempLat::ComplexFieldBinaryOperator

Type Name
R mR
T mT

Detailed Description

Unit test: ctest -R test-complexfieldmultiply

Public Functions Documentation

function ComplexFieldGet [1/2]

inline auto TempLat::ComplexFieldMultiplication::ComplexFieldGet (
    Tag < 0 > t
) const

function ComplexFieldGet [2/2]

inline auto TempLat::ComplexFieldMultiplication::ComplexFieldGet (
    Tag < 1 > t
) const

function ComplexFieldMultiplication

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

function eval

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

function operatorString

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

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

Implements TempLat::ComplexFieldBinaryOperator::operatorString



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