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
Public Static Attributes Documentation
variable NDim
variable SHIFTIND
variable numberToSkipAsTuple
variable size
Public Functions Documentation
function SU2Get
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
function confirmGhostsUpToDate
function confirmSpace
inline void TempLat::SU2LieAlgebraField::confirmSpace (
const LayoutStruct < NDim > & newLayout,
const SpaceStateType & spaceType
) const
function doWeNeedGhosts
function eval
template<typename... IDX>
inline DEVICE_INLINE_FUNCTION auto TempLat::SU2LieAlgebraField::eval (
const IDX &... idx
) const
function getDx
function getKIR
function getToolBox
function operator()
function operator()
function operator()
function operator=
function toString
function updateGhosts
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/algebra/su2algebra/su2liealgebrafield.h