[petsc-users] can i define a user defined residual function to determin the convergence of the kspsolve

Matthew Knepley knepley at gmail.com
Tue Sep 17 09:21:49 CDT 2013


On Tue, Sep 17, 2013 at 7:19 AM, 丁老师 <ztdepyahoo at 163.com> wrote:

> i want to define a function for the computation of the equation residual
> in  a special way.
> does petsc provide this capbility
>

http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/KSP/KSPSetConvergenceTest.html#KSPSetConvergenceTest

   Matt

-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130917/77838bbb/attachment-0001.html>


More information about the petsc-users mailing list