1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 01:05:38 +01:00

group is SUn by default

This commit is contained in:
Alessandro Lupo 2023-05-26 13:44:41 +01:00
parent 3a50fb29cb
commit de8daa3824
3 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ NAMESPACE_BEGIN(Grid);
* in the SUnTwoIndex.h file
*/
template <int ncolour, TwoIndexSymmetry S, class group_name>
template <int ncolour, TwoIndexSymmetry S, class group_name = GroupName::SU>
class TwoIndexRep {
public:
// typdef to be used by the Representations class in HMC to get the

View File

@ -85,7 +85,7 @@ constexpr int compute_adjoint_dimension<GroupName::Sp>(int ncolour) {
return ncolour / 2 * (ncolour + 1);
}
template <int ncolour, class group_name>
template <int ncolour, class group_name = GroupName::SU>
class GaugeGroup {
public:
static const int Dimension = ncolour;

View File

@ -307,7 +307,7 @@ int main(int argc, char** argv) {
std::cout << GridLogMessage << "Two index Symmetric: Checking Group Structure"
<< std::endl;
// Testing HMC representation classes
TwoIndexRep< Nc, Symmetric, GroupName::SU > TIndexRep(grid);
TwoIndexRep< Nc, Symmetric> TIndexRep(grid);
// Test group structure
// (U_f * V_f)_r = U_r * V_r