Hi Matt,

Thanks for the clarification. The documentation
<https://gitlab.com/petsc/petsc/-/blob/master/src/snes/interface/snes.c#L3304>
for SNESSetLagPreconditioner states "If  -1 is used before the very first
nonlinear solve the preconditioner is still built because there is no
previous preconditioner to use" which was true prior to 3.14, is this
statement no longer valid ?

What is the difference between having -snes_lag_preconditioner -2 and
having -snes_lag_preconditioner_persists true ?

PS :  The man pages for SNESSetLagJacobianPersists should perhaps not state
the lag preconditioner options database keys and vice versa for clarity.

Thank You,
Sajid Ali | PhD Candidate
Applied Physics
Northwestern University
s-sajid-ali.github.io

Reply via email to