Skip to content

Class TempLat::SU2Doublet

template <typename T, size_t _NDim>

ClassList > TempLat > SU2Doublet

A class which implements su2doublets. More...

  • #include <su2doublet.h>

Public Types

Type Name
typedef SU2DoubletGetter Getter

Public Static Attributes

Type Name
constexpr size_t NDim = \_NDim
constexpr size_t size = 4

Public Functions

Type Name
SU2Doublet (Field< T, NDim > f1, Field< T, NDim > f2, Field< T, NDim > f3, Field< T, NDim > f4)
SU2Doublet (std::string name, device::memory::host_ptr< MemoryToolBox< NDim > > toolBox, LatticeParameters< T > pLatPar=LatticeParameters< T >())
const Field< T, NDim > & SU2DoubletGet (Tag< N > t) const
DEVICE_INLINE_FUNCTION auto eval (const IDX &... idx) const
auto getDx () const
auto getKIR () const
device::memory::host_ptr< MemoryToolBox< NDim > > getToolBox () const
auto & operator() (Tag< M > t)
void operator+= (R && r)
void operator= (R && r)
std::string toString () const
void updateGhosts ()

Detailed Description

@vocab-summary An \(SU(2)\) (Higgs) doublet: two complex components, stored as four reals. @vocab-signature SU2Doublet<T, NDim> phi("phi", toolBox); @vocab-tags SU2Doublet

Unit test: ctest -R test-su2doublet

Public Types Documentation

typedef Getter

using TempLat::SU2Doublet< T, _NDim >::Getter =  SU2DoubletGetter;

Public Static Attributes Documentation

variable NDim

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

variable size

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

Public Functions Documentation

function SU2Doublet [1/2]

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

function SU2Doublet [2/2]

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

function SU2DoubletGet

template<int N>
inline const Field < T, NDim > & TempLat::SU2Doublet::SU2DoubletGet (
    Tag < N > t
) const

function eval

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

function getDx

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

function getKIR

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

function getToolBox

inline device::memory::host_ptr < MemoryToolBox < NDim > > TempLat::SU2Doublet::getToolBox () const

function operator()

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

function operator+=

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

function operator=

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

function toString

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

function updateGhosts

inline void TempLat::SU2Doublet::updateGhosts () 


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