VecResetArray#
Resets a vector to use its default memory. Call this after the use of VecPlaceArray()
.
Synopsis#
#include "petscvec.h"
PetscErrorCode VecResetArray(Vec vec)
Not Collective
Input Parameter#
vec - the vector
See Also#
Vectors and Parallel Data, Vec
, VecGetArray()
, VecRestoreArray()
, VecReplaceArray()
, VecPlaceArray()
Level#
developer
Location#
Examples#
src/ksp/ksp/tutorials/ex13.c
src/ksp/ksp/tutorials/ex13f90.F90
src/ksp/ksp/tutorials/ex61f.F90
Implementations#
VecResetArray_MPI in src/vec/vec/impls/mpi/pbvec.c
VecResetArray_Seq in src/vec/vec/impls/seq/bvec2.c
VecResetArray_SeqKokkos in src/vec/vec/impls/seq/kokkos/veckok.kokkos.cxx
VecResetArray_SeqViennaCL in src/vec/vec/impls/seq/seqviennacl/vecviennacl.cxx
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages