petsc-3.3-p7 2013-05-11

PetscOListReverseFind

given a object, find the matching name if it exists

Synopsis

PetscErrorCode  PetscOListReverseFind(PetscOList fl,PetscObject obj,char **name,PetscBool *skipdereference)

Input Parameters

fl - pointer to list
ob - the PETSc object

Output Parameters

name - name string
skipdereference - if the object is list but does not have the increased reference count for a circular dependency

Notes

The name must have been registered with the PetscOListAdd() before calling this routine.

The reference count of the object is not increased

See Also

PetscOListDestroy(), PetscOListAdd(), PetscOListDuplicate(), PetscOListFind(), PetscOListDuplicate()

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