VecRestoreArrayWriteAndMemType#
Restore array obtained with VecGetArrayWriteAndMemType() or VecGetArrayWriteAndMemTypeAsync()
Synopsis#
#include "petscvec.h"
PetscErrorCode VecRestoreArrayWriteAndMemType(Vec x, PetscScalar *a[])
Logically Collective; No Fortran Support
Input Parameters#
x - the vector
a - the array
See Also#
Vectors and Parallel Data, Vec, VecGetArrayWriteAndMemType(), VecGetArrayWriteAndMemTypeAsync(), VecRestoreArrayAndMemType(), VecGetArray(), VecRestoreArray(), VecGetArrayPair(), VecRestoreArrayPair()
Level#
beginner
Location#
Examples#
src/vec/is/sf/tests/ex22.c
src/vec/vec/tests/ex65.c
src/mat/tests/ex324.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages