petsc-3.7.1 2016-05-15
VecLockGet
Gets the current lock status of a vector
Synopsis
#include "petscvec.h"
PetscErrorCode VecLockGet(Vec x,PetscInt *state)
Logically Collective on Vec Many br
Input Parameter
x -the vector Many br
Output Parameter
state -greater than zero indicates the vector is still locked Many br
Many br
See Also
VecRestoreArray(), VecGetArrayRead(), VecLockPush(), VecLockGet()
Level:beginner
Location:src/vec/vec/interface/rvector.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages