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

Add an overrelaxation parameter to the MR solver

This commit is contained in:
Daniel Richtmann
2018-02-07 17:45:27 +01:00
parent 68c66d2e4b
commit 323ed1a588
4 changed files with 7 additions and 6 deletions

View File

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