petsc-3.14.6 2021-03-30
DMStagVecRestoreArrayRead
restore read-only access to a raw array
Synopsis
PetscErrorCode DMStagVecRestoreArrayRead(DM dm,Vec vec,void *array)
Logically Collective
Input Parameters
| dm | - the DMStag object
|
| vec | - the Vec object
|
Output Parameters
| array | - the read-only array
|
See Also
DMSTAG, DMStagVecGetArrayRead(), DMDAVecRestoreArrayRead(), DMDAVecRestoreArrayDOFRead()
Level
beginner
Location
src/dm/impls/stag/stagutils.c
Examples
src/dm/impls/stag/tutorials/ex1.c.html
src/dm/impls/stag/tutorials/ex3.c.html
src/dm/impls/stag/tutorials/ex6.c.html
Index of all DMSTAG routines
Table of Contents for all manual pages
Index of all manual pages