petsc-3.5.4 2015-05-23
Report Typos and Errors

VecRestoreArrayRead

Restore array obtained with VecGetArrayRead()

Synopsis

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

Input Parameters

vec - the vector
array - the array

See Also

VecGetArray(), VecRestoreArray()

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

Examples

src/snes/examples/tutorials/ex1.c.html
src/snes/examples/tutorials/ex2.c.html
src/snes/examples/tutorials/ex54.c.html
src/snes/examples/tutorials/ex55.c.html
src/snes/examples/tutorials/ex61.c.html
src/snes/examples/tutorials/ex63.c.html
src/snes/examples/tutorials/ex633d_db.c.html
src/snes/examples/tutorials/ex64.c.html
src/snes/examples/tutorials/ex65.c.html
src/ts/examples/tutorials/ex11.c.html
src/ts/examples/tutorials/ex16.c.html