1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-19 16:27:05 +01:00

Hadrons: maximum iteration specified for tests and error if 0

This commit is contained in:
2018-03-09 19:53:55 +00:00
parent 2f849ee252
commit 70ec2faa98
7 changed files with 25 additions and 13 deletions

View File

@ -176,8 +176,9 @@ inline void makeRBPrecCGSolver(Application &application, std::string &solverName
if (!(VirtualMachine::getInstance().hasModule(solverName)))
{
MSolver::RBPrecCG::Par solverPar;
solverPar.action = actionName;
solverPar.residual = residual;
solverPar.action = actionName;
solverPar.residual = residual;
solverPar.maxIteration = 10000;
application.createModule<MSolver::RBPrecCG>(solverName,
solverPar);
}