mirror of
https://github.com/paboyle/Grid.git
synced 2025-07-19 14:17:07 +01:00
rename group projections based on determinants
This commit is contained in:
@@ -254,22 +254,22 @@ static void testGenerators(GroupName::Sp) {
|
||||
}
|
||||
|
||||
template <int N>
|
||||
static void ProjectOnGaugeGroup(Lattice<iScalar<iScalar<iMatrix<vComplexD, N> > > > &Umu, GroupName::Sp) {
|
||||
static void ProjectOnGeneralGroup(Lattice<iScalar<iScalar<iMatrix<vComplexD, N> > > > &Umu, GroupName::Sp) {
|
||||
Umu = ProjectOnSpGroup(Umu);
|
||||
}
|
||||
|
||||
template <class vtype>
|
||||
static void ProjectOnGaugeGroup(iScalar<vtype> &r, GroupName::Sp) {
|
||||
static void ProjectOnGeneralGroup(iScalar<vtype> &r, GroupName::Sp) {
|
||||
r = ProjectOnSpGroup(r);
|
||||
}
|
||||
|
||||
template <class vtype, int N>
|
||||
static void ProjectOnGaugeGroup(iVector<vtype,N> &r, GroupName::Sp) {
|
||||
static void ProjectOnGeneralGroup(iVector<vtype,N> &r, GroupName::Sp) {
|
||||
r = ProjectOnSpGroup(r);
|
||||
}
|
||||
|
||||
template <class vtype,int N, typename std::enable_if< GridTypeMapper<vtype>::TensorLevel == 0 >::type * =nullptr>
|
||||
static void ProjectOnGaugeGroup(iMatrix<vtype,N> &arg, GroupName::Sp) {
|
||||
static void ProjectOnGeneralGroup(iMatrix<vtype,N> &arg, GroupName::Sp) {
|
||||
arg = ProjectOnSpGroup(arg);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user