1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 23:37:06 +01:00

First implementation of the CG reproducibility test

This commit is contained in:
Guido Cossu
2016-11-06 11:13:29 +00:00
parent 96ba42a297
commit 9720c9ba3f
2 changed files with 54 additions and 9 deletions

View File

@ -71,7 +71,7 @@ int main (int argc, char ** argv)
WilsonFermionR Dw(Umu,Grid,RBGrid,mass);
MdagMLinearOperator<WilsonFermionR,LatticeFermion> HermOp(Dw);
ConjugateGradient<LatticeFermion> CG(1.0e-8,10000);
ConjugateGradient<LatticeFermion> CG(1.0e-8,10000,true, true);
CG(HermOp,src,result);
Grid_finalize();