#include "petscsys.h" PetscErrorCode PetscContainerSetUserDestroy(PetscContainer obj, PetscErrorCode (*des)(void*))Logically Collective on PetscContainer
obj | - an object that was created with PetscContainerCreate() | |
des | - name of the user destroy function |