petsc-3.13.6 2020-09-29
Report Typos and Errors

VecRestoreArrayReadInPlace

Restore array obtained with VecGetArrayReadInPlace()

Synopsis

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

Input Parameters

vec - the vector
array - the array

See Also

VecGetArrayReadInPlace(), VecRestoreArrayInPlace(), VecGetArray(), VecRestoreArray(), VecGetArrayPair(), VecRestoreArrayPair()

Level

beginner

Location

src/vec/vec/interface/rvector.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages