VecResetArray

Resets a vector to use its default memory. Call this after the use of VecPlaceArray().

Synopsis

#include "petscvec.h" 
int VecResetArray(Vec vec)
Not Collective

Input Parameters

vec -the vector

See Also

VecGetArray(), VecRestoreArray(), VecReplaceArray(), VecPlaceArray()

Level:developer
Location:
src/vec/interface/vector.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages