petsc-master 2020-10-26
Report Typos and Errors

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