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