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#
da - the distributed array
vec - the vector, either a vector the same size as one obtained with
DMCreateGlobalVector()
orDMCreateLocalVector()
array - the array, non-NULL pointer is zeroed
Fortran Note#
From Fortran use DMDAVecRestoreArrayReadF90()
See Also#
DM
, DMDA
, DMDAGetGhostCorners()
, DMDAGetCorners()
, VecGetArray()
, VecRestoreArray()
, DMDAVecGetArrayRead()
,
DMDAVecGetArray()
, DMDAVecRestoreArray()
, DMDAVecGetArrayWrite()
, DMDAVecRestoreArrayWrite()
,
DMStagVecRestoreArrayRead()
Level#
intermediate
Location#
Examples#
src/dm/tutorials/ex2.c.html
src/dm/tutorials/ex3.c.html
src/ksp/ksp/tutorials/ex43.c.html
src/snes/tutorials/ex14.c.html
src/snes/tutorials/ex15.c.html
src/snes/tutorials/ex19.c.html
src/snes/tutorials/ex3.c.html
src/snes/tutorials/ex3k.kokkos.cxx.html
src/snes/tutorials/ex78.c.html
src/ts/tutorials/ex10.c.html
src/ts/tutorials/ex13.c.html
Index of all DMDA routines
Table of Contents for all manual pages
Index of all manual pages