Grid 0.7.0
Sp2n.impl.h File Reference

Go to the source code of this file.

Functions

template<ONLY_IF_Sp>
static int su2subgroups (GroupName::Sp)
template<class cplx, ONLY_IF_Sp>
static void generator (int lieIndex, iGroupMatrix< cplx > &ta, GroupName::Sp)
template<class cplx, ONLY_IF_Sp>
static void generatorDiagtype (int diagIndex, iGroupMatrix< cplx > &ta)
template<class cplx, ONLY_IF_Sp>
static void generatorAtype (int aIndex, iGroupMatrix< cplx > &ta)
template<class cplx, ONLY_IF_Sp>
static void generatorBtype (int bIndex, iGroupMatrix< cplx > &ta)
template<class cplx, ONLY_IF_Sp>
static void generatorCtype (int cIndex, iGroupMatrix< cplx > &ta)
template<class cplx, ONLY_IF_Sp>
static void generatorDtype (int dIndex, iGroupMatrix< cplx > &ta)
template<class cplx, ONLY_IF_Sp>
static void generatorWtype (int wIndex, iGroupMatrix< cplx > &ta)
template<class cplx, ONLY_IF_Sp>
static void generatorZtype (int zIndex, iGroupMatrix< cplx > &ta)
template<ONLY_IF_Sp>
static accelerator_inline void su2SubGroupIndex (int &i1, int &i2, int su2_index, GroupName::Sp)
static void testGenerators (GroupName::Sp)
template<int N>
static Lattice< iScalar< iScalar< iMatrix< vComplexD, N > > > > ProjectOnGeneralGroup (const Lattice< iScalar< iScalar< iMatrix< vComplexD, N > > > > &Umu, GroupName::Sp)
template<class vtype>
static accelerator_inline iScalar< vtype > ProjectOnGeneralGroup (const iScalar< vtype > &r, GroupName::Sp)
template<class vtype, int N>
static accelerator_inline iVector< vtype, N > ProjectOnGeneralGroup (const iVector< vtype, N > &r, GroupName::Sp)
template<class vtype, int N, typename std::enable_if< GridTypeMapper< vtype >::TensorLevel==0 >::type * = nullptr>
static accelerator_inline iMatrix< vtype, N > ProjectOnGeneralGroup (const iMatrix< vtype, N > &arg, GroupName::Sp)
template<typename LatticeMatrixType>
static void taProj (const LatticeMatrixType &in, LatticeMatrixType &out, GroupName::Sp)
template<ONLY_IF_Sp>
static void Omega (LatticeColourMatrixD &in)
template<ONLY_IF_Sp, class vtype, int N>
static void Omega (iScalar< iScalar< iMatrix< vtype, N > > > &in)

Function Documentation

◆ su2subgroups()

template<ONLY_IF_Sp>
int su2subgroups ( GroupName::Sp )
staticprivate

Definition at line 14 of file Sp2n.impl.h.

◆ generator()

template<class cplx, ONLY_IF_Sp>
void generator ( int lieIndex,
iGroupMatrix< cplx > & ta,
GroupName::Sp  )
staticprivate

◆ generatorDiagtype()

template<class cplx, ONLY_IF_Sp>
void generatorDiagtype ( int diagIndex,
iGroupMatrix< cplx > & ta )
staticprivate

Definition at line 90 of file Sp2n.impl.h.

Referenced by generator().

◆ generatorAtype()

template<class cplx, ONLY_IF_Sp>
void generatorAtype ( int aIndex,
iGroupMatrix< cplx > & ta )
staticprivate

Definition at line 102 of file Sp2n.impl.h.

References su2SubGroupIndex().

Referenced by generator().

◆ generatorBtype()

template<class cplx, ONLY_IF_Sp>
void generatorBtype ( int bIndex,
iGroupMatrix< cplx > & ta )
staticprivate

Definition at line 121 of file Sp2n.impl.h.

References su2SubGroupIndex().

Referenced by generator().

◆ generatorCtype()

template<class cplx, ONLY_IF_Sp>
void generatorCtype ( int cIndex,
iGroupMatrix< cplx > & ta )
staticprivate

Definition at line 142 of file Sp2n.impl.h.

References su2SubGroupIndex().

Referenced by generator().

◆ generatorDtype()

template<class cplx, ONLY_IF_Sp>
void generatorDtype ( int dIndex,
iGroupMatrix< cplx > & ta )
staticprivate

Definition at line 160 of file Sp2n.impl.h.

References su2SubGroupIndex().

Referenced by generator().

◆ generatorWtype()

template<class cplx, ONLY_IF_Sp>
void generatorWtype ( int wIndex,
iGroupMatrix< cplx > & ta )
staticprivate

Definition at line 179 of file Sp2n.impl.h.

Referenced by generator().

◆ generatorZtype()

template<class cplx, ONLY_IF_Sp>
void generatorZtype ( int zIndex,
iGroupMatrix< cplx > & ta )
staticprivate

Definition at line 193 of file Sp2n.impl.h.

Referenced by generator().

◆ su2SubGroupIndex()

template<ONLY_IF_Sp>
accelerator_inline void su2SubGroupIndex ( int & i1,
int & i2,
int su2_index,
GroupName::Sp  )
staticprivate

Definition at line 210 of file Sp2n.impl.h.

References accelerator_inline.

Referenced by generatorAtype(), generatorBtype(), generatorCtype(), and generatorDtype().

◆ testGenerators()

void testGenerators ( GroupName::Sp )
staticprivate

Definition at line 221 of file Sp2n.impl.h.

References abs(), adj(), generator(), GridLogMessage, norm2(), TensorRemove(), and trace().

◆ ProjectOnGeneralGroup() [1/4]

template<int N>
Lattice< iScalar< iScalar< iMatrix< vComplexD, N > > > > ProjectOnGeneralGroup ( const Lattice< iScalar< iScalar< iMatrix< vComplexD, N > > > > & Umu,
GroupName::Sp  )
staticprivate

Definition at line 259 of file Sp2n.impl.h.

References ProjectOnSpGroup().

◆ ProjectOnGeneralGroup() [2/4]

template<class vtype>
accelerator_inline iScalar< vtype > ProjectOnGeneralGroup ( const iScalar< vtype > & r,
GroupName::Sp  )
staticprivate

Definition at line 264 of file Sp2n.impl.h.

References accelerator_inline, and ProjectOnSpGroup().

◆ ProjectOnGeneralGroup() [3/4]

template<class vtype, int N>
accelerator_inline iVector< vtype, N > ProjectOnGeneralGroup ( const iVector< vtype, N > & r,
GroupName::Sp  )
staticprivate

Definition at line 269 of file Sp2n.impl.h.

References accelerator_inline, and ProjectOnSpGroup().

◆ ProjectOnGeneralGroup() [4/4]

template<class vtype, int N, typename std::enable_if< GridTypeMapper< vtype >::TensorLevel==0 >::type * = nullptr>
accelerator_inline iMatrix< vtype, N > ProjectOnGeneralGroup ( const iMatrix< vtype, N > & arg,
GroupName::Sp  )
staticprivate

Definition at line 274 of file Sp2n.impl.h.

References accelerator_inline, and ProjectOnSpGroup().

◆ taProj()

template<typename LatticeMatrixType>
void taProj ( const LatticeMatrixType & in,
LatticeMatrixType & out,
GroupName::Sp  )
staticprivate

Definition at line 279 of file Sp2n.impl.h.

References SpTa().

◆ Omega() [1/2]

template<ONLY_IF_Sp>
void Omega ( LatticeColourMatrixD & in)
static

◆ Omega() [2/2]

template<ONLY_IF_Sp, class vtype, int N>
void Omega ( iScalar< iScalar< iMatrix< vtype, N > > > & in)
static

Definition at line 305 of file Sp2n.impl.h.

References Omega().