#include "petscsys.h" PetscErrorCode PetscObjectStateGet(PetscObject obj,PetscObjectState *state)Not Collective
obj | - any PETSc object, for example a Vec, Mat or KSP. This must be cast with a (PetscObject), for example, PetscObjectStateGet((PetscObject)mat,&state); |
state | - the object state |
seealso: PetscObjectStateIncrease(), PetscObjectStateSet()