VecNestRestoreSubVecsRead#
Restore access the subvecs of a VECNEST vector obtained with VecNestGetSubVecsRead()
Synopsis#
#include "petscvec.h"
PetscErrorCode VecNestRestoreSubVecsRead(Vec X, PetscInt *N, Vec *sx[])
Logically collective
Input Parameters#
X - nest vector
N - number of nested vecs
sx - array of read-locked vectors
Note#
The same arguments to VecNestGetSubVecsRead() should be the argument to VecNestRestoreSubVecsRead().
See Also#
VECNEST, Vectors and Parallel Data, Vec, VecType, VecNestGetSize(), VecNestGetSubVec(), VecNestGetSubVecsRead()
Level#
advanced
Location#
Implementations#
VecNestRestoreSubVecsRead_Nest() in src/vec/vec/impls/nest/vecnest.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages