mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
group is SUn by default
This commit is contained in:
parent
3a50fb29cb
commit
de8daa3824
@ -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
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user