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#

From Fortran use DMDAVecRestoreArrayReadF90()

See Also#

DM, DMDA, DMDAGetGhostCorners(), DMDAGetCorners(), VecGetArray(), VecRestoreArray(), DMDAVecGetArrayRead(), DMDAVecGetArray(), DMDAVecRestoreArray(), DMDAVecGetArrayWrite(), DMDAVecRestoreArrayWrite(), DMStagVecRestoreArrayRead()

Level#

intermediate

Location#

src/dm/impls/da/dagetarray.c

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


Edit on GitLab

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