[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?

Thanks!

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

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