petsc-3.4.2 2013-07-02

# PetscContainerDestroy

Destroys a PETSc container object.

### Synopsis

    #include "petscsys.h"
    PetscErrorCode  PetscContainerDestroy(PetscContainer *obj)

Collective on PetscContainer

### Input Parameter

obj -an object that was created with PetscContainerCreate()

### See Also

PetscContainerCreate(), PetscContainerSetUserDestroy()

Level:advanced
Location: src/sys/objects/inherit.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/snes/examples/tutorials/ex31.c.html