DMSNESSetFunctionContextDestroy#

set SNES residual evaluation context destroy function

Synopsis#

#include "petscsnes.h" 
#include "petscdm.h" 
PetscErrorCode DMSNESSetFunctionContextDestroy(DM dm, PetscErrorCode (*f)(void *))

Not Collective

Input Parameters#

  • dm - DM to be used with SNES

  • f - residual evaluation context destroy function

See Also#

DMSNESSetFunction(), SNESSetFunction()

Level#

advanced

Location#

src/snes/utils/dmsnes.c


Edit on GitLab

Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages