[petsc-users] Test convergence with non linear preconditioners

Jed Brown jed at jedbrown.org
Wed Aug 5 14:18:51 CDT 2020


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?


More information about the petsc-users mailing list