The tol parameter in multilevel_solver.solve() should be relative to the norm of the right-hand-side, as it is for the other iterative methods.
http://groups.google.com/group/pyamg-user/browse_thread/thread/b1096fd0ff9d0e49
Comment #1
Posted on Jan 15, 2009 by Helpful RabbitWhat I do in the Krylov routines is, # Scale tol by normb normb = norm(b) if normb != 0: tol = tol*normb
The larger that b is, then the more tol should be relaxed. Is this what you mean? If so, then you or I can just pop this code into multilevel.py at the start of the solve(...) routine.
Comment #2
Posted on Jan 15, 2009 by Quick RabbitYep, that's all that is needed. Go ahead and make the changes.
Comment #3
Posted on Jan 21, 2009 by Helpful RabbitDone
Comment #4
Posted on Jul 8, 2013 by Happy Elephantmoved to github: https://github.com/pyamg/pyamg/issues
Status: Fixed
Labels:
Type-Defect
Milestone-Release1.0