VecLocked#
Deprecated alias for VecSetErrorIfLocked(); raises an error if the Vec is currently locked for read
Synopsis#
#include <petscvec.h>
PetscErrorCode VecLocked(Vec x, int arg)
Not Collective; No Fortran Support
Input Parameters#
x - the
Vecto testarg - the argument position of
xin the caller (used in the error message)
Note#
Use VecSetErrorIfLocked() in new code; this macro is retained only for backwards compatibility.
See Also#
Vec, VecSetErrorIfLocked(), VecLockReadPush(), VecLockReadPop()
Level#
deprecated
Location#
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages