DMStagVecRestoreArrayRead#
restore read-only access to a raw array
Synopsis#
#include "petscdmstag.h"
#include "petscdmproduct.h"
PetscErrorCode DMStagVecRestoreArrayRead(DM dm, Vec vec, void *array)
Logically Collective
Input Parameters#
dm - the
DMSTAG
objectvec - the Vec object
Output Parameter#
array - the read-only array
See Also#
DMSTAG: Staggered, Structured Grid, DMSTAG
, DMStagVecGetArrayRead()
, DMDAVecRestoreArrayRead()
, DMDAVecRestoreArrayDOFRead()
Level#
beginner
Location#
Examples#
src/dm/impls/stag/tutorials/ex6.c
src/dm/impls/stag/tutorials/ex1.c
src/dm/impls/stag/tutorials/ex3.c
Index of all DMStag routines
Table of Contents for all manual pages
Index of all manual pages