Harshad Sahasrabudhe <[email protected]> writes:

> Hi,
>
> I want to implement a Predictor-Corrector algorithm for solving a coupled
> Schrödinger-Poisson system using SNES. I can calculate the next step using
> my predictor algorithm and don't want PETSc to calculate the next step. I
> only need PETSc to check for convergence. What is the best way to implement
> this?

Probably SNESLineSearchRegister your implementation.  The Newton solve
gives a correction and you can follow it with anything you want.

Attachment: signature.asc
Description: PGP signature

Reply via email to