Skip to content

Class TempLat::SU2LieAlgebraField

template <typename T, size_t _NDim>

ClassList > TempLat > SU2LieAlgebraField

A class which implements a SU2 field (algebra). Same than the group, except set 0 component to 0 and has a function which returns its components wrt to sigma/2 instead of sigma, which is more conventional for the algebra (but internally, also expanded as a function of sigma). More...

  • #include <su2liealgebrafield.h>

Public Types

Type Name
typedef SU2Getter Getter

Public Static Attributes

Type Name
constexpr size_t NDim = \_NDim
constexpr size_t SHIFTIND = 0
constexpr size_t numberToSkipAsTuple = 1
constexpr size_t size = 4

Public Functions

Type Name
auto SU2Get (Tag< N > t) const
SU2LieAlgebraField (Field< T, NDim > f1, Field< T, NDim > f2, Field< T, NDim > f3)
SU2LieAlgebraField (std::string name, device::memory::host_ptr< MemoryToolBox< NDim > > toolBox, LatticeParameters< T > pLatPar)
auto SU2LieAlgebraGet (Tag< N > t) const
device::Idx confirmGhostsUpToDate () const
void confirmSpace (const LayoutStruct< NDim > & newLayout, const SpaceStateType & spaceType) const
void doWeNeedGhosts () const
DEVICE_INLINE_FUNCTION auto eval (const IDX &... idx) const
auto getDx () const
auto getKIR () const
auto getToolBox () const
ZeroType operator() (Tag< 0 > t) const
auto & operator() (Tag< M > t)
const auto & operator() (Tag< M > t) const
void operator= (R && r)
std::string toString () const
void updateGhosts ()

Detailed Description

Unit test: ctest -R test-su2liealgebrafield

@vocab-summary An \(\mathfrak{su}(2)\) field: the same storage as the group type but with \(c\_0\) pinned to zero, and component access normalised to \(\sigma\_a/2\). @vocab-signature SU2LieAlgebraField<T, NDim> E("E", toolBox);

Public Types Documentation

typedef Getter

using TempLat::SU2LieAlgebraField< T, _NDim >::Getter =  SU2Getter;

Public Static Attributes Documentation

variable NDim

constexpr size_t TempLat::SU2LieAlgebraField< T, _NDim >::NDim;

variable SHIFTIND

constexpr size_t TempLat::SU2LieAlgebraField< T, _NDim >::SHIFTIND;

variable numberToSkipAsTuple

constexpr size_t TempLat::SU2LieAlgebraField< T, _NDim >::numberToSkipAsTuple;

variable size

constexpr size_t TempLat::SU2LieAlgebraField< T, _NDim >::size;

Public Functions Documentation

function SU2Get

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

function SU2LieAlgebraField [1/2]

inline TempLat::SU2LieAlgebraField::SU2LieAlgebraField (
    Field < T, NDim > f1,
    Field < T, NDim > f2,
    Field < T, NDim > f3
) 

function SU2LieAlgebraField [2/2]

inline TempLat::SU2LieAlgebraField::SU2LieAlgebraField (
    std::string name,
    device::memory::host_ptr < MemoryToolBox < NDim > > toolBox,
    LatticeParameters < T > pLatPar
) 

function SU2LieAlgebraGet

template<int N>
inline auto TempLat::SU2LieAlgebraField::SU2LieAlgebraGet (
    Tag < N > t
) const

function confirmGhostsUpToDate

inline device::Idx TempLat::SU2LieAlgebraField::confirmGhostsUpToDate () const

function confirmSpace

inline void TempLat::SU2LieAlgebraField::confirmSpace (
    const LayoutStruct < NDim > & newLayout,
    const SpaceStateType & spaceType
) const

function doWeNeedGhosts

inline void TempLat::SU2LieAlgebraField::doWeNeedGhosts () const

function eval

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

function getDx

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

function getKIR

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

function getToolBox

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

function operator()

inline ZeroType TempLat::SU2LieAlgebraField::operator() (
    Tag < 0 > t
) const

function operator()

template<int M>
inline auto & TempLat::SU2LieAlgebraField::operator() (
    Tag < M > t
) 

function operator()

template<int M>
inline const auto & TempLat::SU2LieAlgebraField::operator() (
    Tag < M > t
) const

function operator=

template<typename R>
inline void TempLat::SU2LieAlgebraField::operator= (
    R && r
) 

function toString

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

function updateGhosts

inline void TempLat::SU2LieAlgebraField::updateGhosts () 


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