[petsc-users] A question about KSP solver

Jed Brown jedbrown at mcs.anl.gov
Tue Jan 3 09:55:04 CST 2012


On Tue, Jan 3, 2012 at 09:50, behzad baghapour
<behzad.baghapour at gmail.com>wrote:

> Thanks, Is it possible to handle the convergence check after each SNES
> iteration too? I know a little about SNESSetConvergenceTest() but I don't
> know how to use it?


You implement the convegence test. There are examples and links to source
code:

http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/SNES/SNESSetConvergenceTest.html
http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/SNES/SNESDefaultConverged.html#SNESDefaultConverged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120103/4203cebd/attachment.htm>


More information about the petsc-users mailing list