Bugfix in the non-batchified CG linear solver.
Description
Bugfix in the non-batchified CG linear solver.
The code was wrongly using the square of the norm instead of the norm to compare to the tolerance and for the value of the residue. Now, all the linear solvers refer to the same norm for stopping the iterations.
The default value for PoissonSolverThreshold is also changed.
News snippet
Bugfix in the non-batchified CG linear solver.
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.