|virtual void||postcheck (const NumericVector< Number > &old_soln, NumericVector< Number > &search_direction, NumericVector< Number > &new_soln, bool &changed_search_direction, bool &changed_new_soln, sys_type &S)=0|
Abstract base class to be used for applying user modifications to the solution vector and/or Newton update step after each nonlinear step. A user should inherit from this class and define a custom version of the postcheck() function.
This interface, which is inspired by PETSc's, passes the user: .) A constant reference to the "old" solution vector (previous Newton iterate), .) A pointer to the search direction (update) vector, and .) The "proposed" new solution vector. The user can then modify either the search direction or the new solution vector according to their own application-specific criteria. If they do, they must set the associated boolean references appropriately.
Referenced by libMesh::__libmesh_petsc_snes_postcheck().