PetscOListFind

givn a name, find the matching object

Synopsis

PetscErrorCode PETSC_DLLEXPORT PetscOListFind(PetscOList fl,const char name[],PetscObject *obj)

Input Parameters

fl - pointer to list
name - name string

Output Parameters

ob -the PETSc object

Notes

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

See Also

PetscOListDestroy(), PetscOListAdd(), PetscOListDuplicate(), PetscOListReverseFind(), 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