VecGetState#
Gets a snapshot of the state of a Vec
Synopsis#
#include "petscvec.h"
PetscErrorCode VecGetState(Vec v, VecState *state)
Not Collective
Input Parameter#
v - the vector
Output Parameter#
state - the vector state
Note#
The snapshot includes the vector object id and state. Use VecStateCompare() to determine whether two snapshots are the same, or VecStateCompareUpdate() to compare and update a saved snapshot.
See Also#
Vectors and Parallel Data, Vec, VecState, VecStateCompare(), VecStateCompareUpdate(), VecStateInvalidate(), PetscObjectStateGet(), PetscObjectGetId()
Level#
developer
Location#
Examples#
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages