VecRestoreArrayReadAndMemType#

Restore array obtained with VecGetArrayReadAndMemType()

Synopsis#

#include "petscvec.h"   
PetscErrorCode VecRestoreArrayReadAndMemType(Vec x, const PetscScalar **a)

Not Collective

Input Parameters#

  • vec - the vector

  • array - the array

See Also#

Vectors and Parallel Data, Vec, VecGetArrayReadAndMemType(), VecRestoreArrayAndMemType(), VecRestoreArrayWriteAndMemType(), VecGetArray(), VecRestoreArray(), VecGetArrayPair(), VecRestoreArrayPair()

Level#

beginner

Location#

src/vec/vec/interface/rvector.c


Edit on GitLab

Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages