[petsc-users] Test convergence with non linear preconditioners

Adolfo Rodriguez adantra at gmail.com
Wed Aug 5 15:07:30 CDT 2020

Actually I can set the non-linear pc. My problem relates to the convergence
test. I have not found a way to set the tolerances for the inner problem,
are they hard coded?



On Wed, Aug 5, 2020 at 2:18 PM Jed Brown <jed at jedbrown.org> wrote:

> Adolfo Rodriguez <adantra at gmail.com> writes:
> > I am trying to use non-linear preconditioners in a very similar way shown
> > in the paper "Composing scalable nonlinear solvers" by Peter Brune and
> > others.
> >
> > My question is simple, actually. I have provided a test convergence
> > function, but it seems that the inner method does not take it into
> account
> > and follows the default convergence criteria. Is there a way to specify a
> > convergence function to the inner method?
> Are you saying that you did
>   SNESGetNPC(snes, &inner);
>   SNESSetConvergenceTest(inner, YourFunc, ...);
> and yet the function is not being called?  Can you send output of
> -snes_view?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200805/eca08773/attachment.html>

More information about the petsc-users mailing list