You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In every SNES iteration the following two functions are called once each: 1. PetscSNESSolver::setJacobian(), and 2. PetscSNESSolver::setupPreconditioner().
PetscSNESSolver::setJacobian() does a resetOperator() on SNES's PetscKrylovSolver. If this PetscKrylovSolver has a preconditioner with an Operator, then this resetOperator() triggers a resetOperator() on the preconditioner's Operator.
PetscSNESSolver::setupPreconditioner() explicitly does a reset on the preconditioner's Operator. It then does a reset of the preconditioner with null parameters (which may or may not trigger a further reset of its operator; the reset() in the base class SolverStrategy includes a reset of its Operator)