Skip to content

Class TempLat::ComplexFieldConjugate

template <typename R>

ClassList > TempLat > ComplexFieldConjugate

A class which computes the complex conjugate of a complex field. More...

  • #include <complexfieldconjugate.h>

Inherits the following classes: TempLat::ComplexFieldUnaryOperator

Public Types inherited from TempLat::ComplexFieldUnaryOperator

See TempLat::ComplexFieldUnaryOperator

Type Name
typedef ComplexFieldGetter Getter

Public Static Attributes inherited from TempLat::ComplexFieldUnaryOperator

See TempLat::ComplexFieldUnaryOperator

Type Name
constexpr size_t size = 2

Public Functions

Type Name
ComplexFieldConjugate (const R & pR)
auto ComplexFieldGet (Tag< 0 > t) const
auto ComplexFieldGet (Tag< 1 > t) const
DEVICE_INLINE_FUNCTION auto eval (const IDX &... idx) const
std::string toString () const

Public Functions inherited from TempLat::ComplexFieldUnaryOperator

See TempLat::ComplexFieldUnaryOperator

Type Name
ComplexFieldUnaryOperator (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 inherited from TempLat::ComplexFieldUnaryOperator

See TempLat::ComplexFieldUnaryOperator

Type Name
consteval size_t getNDim ()

Protected Attributes inherited from TempLat::ComplexFieldUnaryOperator

See TempLat::ComplexFieldUnaryOperator

Type Name
R mR

Detailed Description

Unit test: ctest -R test-complexfieldconjugate

Public Functions Documentation

function ComplexFieldConjugate

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

function ComplexFieldGet [1/2]

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

function ComplexFieldGet [2/2]

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

function eval

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

function toString

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


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