#include "petscsnes.h" PetscErrorCode SNESSetUpdate(SNES snes, PetscErrorCode (*func)(SNES, PetscInt))Logically Collective on SNES
snes | - The nonlinear solver context | |
func | - The function |
func (SNES snes, PetscInt step);
step | - The current step of the iteration |
Note: This is NOT what one uses to update the ghost points before a function evaluation, that should be done at the beginning of your FormFunction() This is not used by most users.