mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-10 06:00:45 +01:00
fixed stout smearing for now
This commit is contained in:
parent
2b598294c9
commit
4a4203c610
@ -71,9 +71,13 @@ public:
|
||||
}
|
||||
|
||||
/*! 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()} {
|
||||
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...
|
||||
|
@ -113,7 +113,8 @@ void TStoutSmearing3D<GImpl>::execute(void)
|
||||
<< " of 3D-stout smearing and rho= " << par().rho
|
||||
<< "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 &Usmr = envGet(GaugeField, getName());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user