Skip to main content
`Ctrl`+`K`

# PetscObjectId

unique integer Id for a `PetscObject`

## Note

Unlike pointer values, object ids are never reused so one may save a `PetscObjectId` and compare it to one obtained later from a `PetscObject` to determine if the objects are the same. Never compare two object pointer values.

## See Also

`PetscObjectState`, `PetscObjectGetId()`

## Level

developer

## Location

include/petscsystypes.h

Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages