DMFieldShellSetDestroy#
Register a destroy callback that will be invoked when a DMFIELDSHELL is destroyed.
Synopsis#
#include "petscdmfield.h"
PetscErrorCode DMFieldShellSetDestroy(DMField field, PetscErrorCode (*destroy)(DMField field))
Logically Collective
Input Parameters#
field - the
DMFieldof typeDMFIELDSHELLdestroy - the destroy routine, called before the shell’s own data is freed
Calling sequence of destroy#
field - the
DMFieldof typeDMFIELDSHELLbeing destroyed
See Also#
DMField, DMFIELDSHELL, DMFieldCreateShell(), DMFieldDestroy()
Level#
intermediate
Location#
Examples#
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages