DMDAVecRestoreArrayRead#

Restores a multiple dimension array obtained with DMDAVecGetArrayRead()

Synopsis#

#include "petscdmda.h"   
PetscErrorCode DMDAVecRestoreArrayRead(DM da, Vec vec, void *array)

Not Collective

Input Parameters#

Fortran Note#

Use DMDAVecRestoreArrayReadF90()

See Also#

DMDA - Creating vectors for structured grids, DMDA - Setting vector values, DM, DMDA, DMDAVecRestoreArrayReadF90(), DMDAGetGhostCorners(), DMDAGetCorners(), VecGetArray(), VecRestoreArray(), DMDAVecGetArrayRead(), DMDAVecGetArray(), DMDAVecRestoreArray(), DMDAVecGetArrayWrite(), DMDAVecRestoreArrayWrite(), DMStagVecRestoreArrayRead()

Level#

intermediate

Location#

src/dm/impls/da/dagetarray.c

Examples#

src/ts/tutorials/ex34.c
src/ts/tutorials/ex50.c
src/ts/tutorials/ex25.c
src/ts/tutorials/ex10.c
src/ts/tutorials/ex15.c
src/ts/tutorials/ex7.c
src/ts/tutorials/ex17.c
src/ts/tutorials/ex13.c
src/ts/tutorials/ex22.c
src/ts/tutorials/ex9.c


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