PetscObjectDereference
Indicates to any PetscObject that it is being referenced by one less PetscObject. This decreases the reference count for that object by one.
Synopsis
#include "petsc.h"
int PetscObjectDereference(PetscObject obj)
Collective on PetscObject
Input Parameter
obj -the PETSc object; this must be cast with (PetscObject), for example,
PetscObjectDereference((PetscObject)mat);
See Also
PetscObjectCompose(), PetscObjectReference()
Level:advanced
Location:src/sys/src/objects/inherit.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages