1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

missing function

This commit is contained in:
Alessandro Lupo 2023-06-23 11:11:20 +01:00
parent 4e6194d92a
commit 063d290bd8

View File

@ -429,11 +429,21 @@ template <int N>
static void ProjectSUn(Lattice<iScalar<iScalar<iMatrix<vComplexD, N> > > > &Umu) {
GaugeGroup<N,GroupName::SU>::ProjectOnSpecialGroup(Umu);
}
template <int N>
static void ProjectSUn(Lattice<iVector<iScalar<iMatrix<vComplexD, N> >,Nd> > &U) {
GaugeGroup<N,GroupName::SU>::ProjectOnSpecialGroup(U);
}
template <int N>
static void ProjectSpn(Lattice<iScalar<iScalar<iMatrix<vComplexD, N> > > > &Umu) {
GaugeGroup<N,GroupName::Sp>::ProjectOnSpecialGroup(Umu);
}
template <int N>
static void ProjectSpn(Lattice<iVector<iScalar<iMatrix<vComplexD, N> >,Nd> > &U) {
GaugeGroup<N,GroupName::Sp>::ProjectOnSpecialGroup(U);
}
// Explicit specialisation for SU(3).
static void ProjectSU3(