PetscObjectRemoveReference#
Removes a reference link from a PetscObject’s object list without dereferencing the referenced object
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscObjectRemoveReference(PetscObject obj, const char name[])
Logically collective
Input Parameters#
obj - the
PetscObjectwhose list will be modifiedname - the name under which the reference was composed
Note#
This is a private helper used to break composed reference cycles; user code should normally use PetscObjectCompose()
with a NULL pointer to remove a composed object.
See Also#
PetscObject, PetscObjectCompose(), PetscObjectQuery(), PetscObjectReference(), PetscObjectDereference()
Level#
developer
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages