:orphan: # 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 --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscsystypes.h) [Index of all Sys routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)