PetscContainerUserDestroyDefault#

Default destroy routine for user-provided data that simply calls PetscFree() in the data provided with PetscContainerSetPointer()

Synopsis#

#include "petscsys.h"    
PetscErrorCode PetscContainerUserDestroyDefault(void *ctx)

Logically Collective on the PetscContainer containing the user data

Input Parameter#

  • ctx - pointer to user-provided data

See Also#

PetscContainerDestroy(), PetscContainerSetUserDestroy(), PetscObject

Level#

advanced

Location#

src/sys/objects/inherit.c


Edit on GitLab

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