[petsc-users] A question about KSP solver
Jed Brown
jedbrown at mcs.anl.gov
Tue Jan 3 09:28:46 CST 2012
On Tue, Jan 3, 2012 at 09:21, behzad baghapour
<behzad.baghapour at gmail.com>wrote:
> How can I make KSP to ignore the convergence check after prescribed number
> of linear iterations?
-ksp_max_it N
you will get back KSP_DIVERGED_ITS if you call KSPGetConvergedReason(), but
you can decide that is okay.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120103/3271e227/attachment.htm>
More information about the petsc-users
mailing list