[petsc-users] checking max iteration reached

Sam Guo sam.guo at cd-adapco.com
Fri Jan 17 12:47:00 CST 2020


Dear PETSc dev team,
   How to check if the max iterations have been reached? I notice
there is PETSC_ERR_NOT_CONVERGED
but I am not sure if this error is issued for max iterations reached or
not.
   If yes, how to tell if the max iterations have been reached since this
error can be issued for many other reasons.
   If not, should I check the number of iterations myself?

Thanks,
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200117/30e41a40/attachment.html>


More information about the petsc-users mailing list