PetscObjectState#

integer state for a PetscObject

Note#

Object state is always-increasing and (for objects that track state) can be used to determine if an object has changed since the last time you interacted with it. It is 64-bit so that it will not overflow for a very long time.

See Also#

PetscObjectId, PetscObjectStateGet(), PetscObjectStateIncrease(), PetscObjectStateSet()

Level#

developer

Location#

include/petscsystypes.h

Examples#

src/sys/tests/ex15.cxx
src/mat/impls/diagonal/tests/ex1.c
src/mat/tests/ex306.c
src/mat/tests/ex4.c


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