mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Introduce GaugeGroup
This commit is contained in:
parent
9273f2937c
commit
b8f1f5d2a3
@ -33,9 +33,18 @@ directory
|
||||
#define QCD_UTIL_SUN_H
|
||||
|
||||
NAMESPACE_BEGIN(Grid);
|
||||
namespace GroupName {
|
||||
class SU {};
|
||||
} // namespace GroupName
|
||||
|
||||
template <int ncolour, class group_name = GroupName::SU>
|
||||
class GaugeGroup;
|
||||
|
||||
template <int ncolour>
|
||||
class SU {
|
||||
using SU = GaugeGroup<ncolour, GroupName::SU>;
|
||||
|
||||
template <int ncolour, class group_name>
|
||||
class GaugeGroup {
|
||||
public:
|
||||
static const int Dimension = ncolour;
|
||||
static const int AdjointDimension = ncolour * ncolour - 1;
|
||||
|
Loading…
Reference in New Issue
Block a user