1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-20 14:47:06 +01:00

Revert "Fixing issue #11: consistent use of ncolour and nsp"

This reverts commit 1ba429345b.
This commit is contained in:
Alessandro Lupo
2022-11-23 19:34:59 +00:00
parent 1ba429345b
commit 3af4929dda
4 changed files with 72 additions and 76 deletions

View File

@@ -126,8 +126,8 @@ public:
{
if (isSp2n == true)
{
//const int nSp = Nrepresentation/2;
Sp<Nrepresentation>::GaussianFundamentalLieAlgebraMatrix(pRNG, Pmu);
const int nSp = Nrepresentation/2;
Sp<nSp>::GaussianFundamentalLieAlgebraMatrix(pRNG, Pmu);
} else
{
@@ -148,18 +148,18 @@ public:
if (isSp2n == true)
{
P = Ta(P);
//const int nsp = Nc / 2;
const int nsp = Nc / 2;
Sp<Nc>::iSp2nMatrix<Complex> gen;
Sp<nsp>::iSp2nMatrix<Complex> gen;
auto Psum = P;
Psum = Zero();
for (int a = 0; a < Sp<Nrepresentation>::AlgebraDimension; a++)
for (int a = 0; a < Sp<nsp>::AlgebraDimension; a++)
{
Sp<Nrepresentation>::generator(a, gen);
Sp<nsp>::generator(a, gen);
auto coeff = 2. * trace(P * gen);
Psum += coeff * gen;
@@ -223,8 +223,8 @@ public:
{
if (isSp2n == true)
{
//const int nSp = Nrepresentation/2;
Sp<Nrepresentation>::HotConfiguration(pRNG, U);
const int nSp = Nrepresentation/2;
Sp<nSp>::HotConfiguration(pRNG, U);
} else
{
Group::HotConfiguration(pRNG, U);
@@ -235,8 +235,8 @@ public:
{
if (isSp2n == true)
{
//const int nSp = Nrepresentation/2;
Sp<Nrepresentation>::TepidConfiguration(pRNG, U);
const int nSp = Nrepresentation/2;
Sp<nSp>::TepidConfiguration(pRNG, U);
} else
{
Group::TepidConfiguration(pRNG, U);
@@ -248,8 +248,8 @@ public:
{
if (isSp2n == true)
{
//const int nSp = Nrepresentation/2;
Sp<Nrepresentation>::ColdConfiguration(pRNG, U);
const int nSp = Nrepresentation/2;
Sp<nSp>::ColdConfiguration(pRNG, U);
} else
{
Group::ColdConfiguration(pRNG, U);