Gets the state of any PetscObject, regardless of the type.
PetscErrorCode PetscObjectStateGet(PetscObject obj,PetscObjectState *state)
obj -any PETSc object, for example a Vec, Mat or KSP. This must be
cast with a (PetscObject), for example,
state -the object state
object state is an integer which gets increased every time
the object is changed. By saving and later querying the object state
one can determine whether information about the object is still current.
Currently, state is maintained for Vec and Mat objects.
seealso: PetscObjectStateIncrease(), PetscObjectStateSet()
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages