1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-18 15:57:05 +01:00

Improvement in the CG interface for Repro

This commit is contained in:
Guido Cossu
2016-12-09 05:20:38 +00:00
parent 6ceee102e8
commit ec0c53fa68
3 changed files with 27 additions and 32 deletions

View File

@ -64,9 +64,9 @@ class HmcRunner : public NerscHmcRunner {
FermionAction FermOp(U, *FGrid, *FrbGrid, mass);
// To enable the CG reproducibility tests use
ConjugateGradient<FermionField> CG(1.0e-8, 10000, false, true);
//ConjugateGradient<FermionField> CG(1.0e-8, 10000, ReproducibilityTest);
// This is the plain version
//ConjugateGradient<FermionField> CG(1.0e-8, 10000);
ConjugateGradient<FermionField> CG(1.0e-8, 10000);
TwoFlavourPseudoFermionAction<ImplPolicy> Nf2(FermOp, CG, CG);