mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-26 13:45:56 +01:00
correct tests/smearing/WilsonFlow to use non-adaptive flow and use correct interface
This commit is contained in:
parent
b50fb34e71
commit
1876e5b7c0
@ -33,8 +33,7 @@ namespace Grid{
|
|||||||
GRID_SERIALIZABLE_CLASS_MEMBERS(WFParameters,
|
GRID_SERIALIZABLE_CLASS_MEMBERS(WFParameters,
|
||||||
int, steps,
|
int, steps,
|
||||||
double, step_size,
|
double, step_size,
|
||||||
int, meas_interval,
|
int, meas_interval);
|
||||||
double, maxTau); // for the adaptive algorithm
|
|
||||||
|
|
||||||
|
|
||||||
template <class ReaderClass >
|
template <class ReaderClass >
|
||||||
@ -96,9 +95,7 @@ int main(int argc, char **argv) {
|
|||||||
std::cout << GridLogMessage << "Initial plaquette: "
|
std::cout << GridLogMessage << "Initial plaquette: "
|
||||||
<< WilsonLoops<PeriodicGimplR>::avgPlaquette(Umu) << std::endl;
|
<< WilsonLoops<PeriodicGimplR>::avgPlaquette(Umu) << std::endl;
|
||||||
|
|
||||||
int t=WFPar.maxTau;
|
WilsonFlow<PeriodicGimplR> WF(WFPar.step_size, WFPar.steps,
|
||||||
WilsonFlowAdaptive<PeriodicGimplR> WF(WFPar.step_size, WFPar.maxTau,
|
|
||||||
1.0e-4,
|
|
||||||
WFPar.meas_interval);
|
WFPar.meas_interval);
|
||||||
|
|
||||||
WF.smear(Uflow, Umu);
|
WF.smear(Uflow, Umu);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user