[petsc-users] Using Inexact Newton Iterations

Matthew Knepley knepley at gmail.com
Mon Dec 26 07:15:49 CST 2011


On Mon, Dec 26, 2011 at 12:37 AM, behzad baghapour <
behzad.baghapour at gmail.com> wrote:

> Dear all,
>
> I used "-snes_ksp_ew_conv" to inexactly solve the linear system with Petsc
> prescribed forcing term BUT I didn't catch any difference or improvement. I
> just screen out the "rtol" of KSP during
> SNES iteration and found out It is constant (1e-5) in both exact and
> inexact cases. Please let me know how I should implement "inexact" method
> in SNES and what is the relation between KSP tolerances and inexact setup?
>

-snes_view will tell you if it is being used, and the option is wrong


http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/SNES/SNESKSPSetUseEW.html

  Matt


> Merry Xmas,
> BehZad
>



-- 
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/20111226/461fe3bb/attachment.htm>


More information about the petsc-users mailing list