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

Fix file extensions

This commit is contained in:
Julian Lenz 2022-12-18 16:12:56 +00:00
parent 92ad5b8f74
commit 37b6b82869
3 changed files with 16 additions and 3 deletions

View File

@ -2,7 +2,7 @@
Grid physics library, www.github.com/paboyle/Grid
Source file: ./lib/qcd/utils/SUn.h
Source file: ./lib/qcd/utils/GaugeGroup.h
Copyright (C) 2015
@ -145,8 +145,8 @@ class GaugeGroup {
typedef Lattice<vSU2MatrixF> LatticeSU2MatrixF;
typedef Lattice<vSU2MatrixD> LatticeSU2MatrixD;
#include "Grid/qcd/utils/SUn.h"
#include "Grid/qcd/utils/Sp2n.h"
#include "Grid/qcd/utils/SUn.impl"
#include "Grid/qcd/utils/Sp2n.impl"
public:
template <class cplx>

View File

@ -5,6 +5,9 @@
// class GaugeGroup {
//
// around it.
//
// Please note that the unconventional file extension makes sure that it
// doesn't get found by the scripts/filelist during bootstrapping.
private:
static int su2subgroups(GroupName::SU) { return (ncolour * (ncolour - 1)) / 2; }

View File

@ -1,3 +1,13 @@
// This file is #included into the body of the class template definition of
// GaugeGroup. So, image there to be
//
// template <int ncolour, class group_name>
// class GaugeGroup {
//
// around it.
//
// Please note that the unconventional file extension makes sure that it
// doesn't get found by the scripts/filelist during bootstrapping.
private:
static int su2subgroups(GroupName::Sp) { return (ncolour/2 * (ncolour/2 - 1)) / 2; }