1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-27 14:15:55 +01:00

fixed stout smearing for now

This commit is contained in:
Felix Erben 2019-04-18 19:10:49 +01:00
parent 2b598294c9
commit 4a4203c610
2 changed files with 7 additions and 2 deletions

View File

@ -71,9 +71,13 @@ public:
} }
/*! Default constructor. rho is constant in all directions, optionally except for orthogonal dimension */ /*! Default constructor. rho is constant in all directions, optionally except for orthogonal dimension */
Smear_Stout(double rho = 1.0, int orthogdim = -1) /*Smear_Stout(double rho = 1.0, int orthogdim = -1)
: OwnedBase{new Smear_APE<Gimpl>(rho3D(rho,orthogdim))}, SmearBase{OwnedBase.get()} { : OwnedBase{new Smear_APE<Gimpl>(rho3D(rho,orthogdim))}, SmearBase{OwnedBase.get()} {
assert(Nc == 3 && "Stout smearing currently implemented only for Nc==3"); assert(Nc == 3 && "Stout smearing currently implemented only for Nc==3");
}*/
Smear_Stout(double rho = 1.0) : SmearBase(new Smear_APE<Gimpl>(rho)) {
assert(Nc == 3);// "Stout smearing currently implemented only for Nc==3");
} }
~Smear_Stout() {} // delete SmearBase... ~Smear_Stout() {} // delete SmearBase...

View File

@ -113,7 +113,8 @@ void TStoutSmearing3D<GImpl>::execute(void)
<< " of 3D-stout smearing and rho= " << par().rho << " of 3D-stout smearing and rho= " << par().rho
<< "orthogonal to dimension " << par().orthogdim << std::endl; << "orthogonal to dimension " << par().orthogdim << std::endl;
Smear_Stout<GImpl> smearer(par().rho, par().orthogdim); //Smear_Stout<GImpl> smearer(par().rho, par().orthogdim);
Smear_Stout<GImpl> smearer(par().rho);
auto &U = envGet(GaugeField, par().gauge); auto &U = envGet(GaugeField, par().gauge);
auto &Usmr = envGet(GaugeField, getName()); auto &Usmr = envGet(GaugeField, getName());