petsc-master 2019-07-16
Report Typos and Errors

DMStagVecRestoreArrayDOF

restore read-only access to a raw array

Synopsis

PetscErrorCode DMStagVecRestoreArrayDOF(DM dm,Vec vec,void *array)
Logically Collective

Input Parameters

dm - the DMStag object
vec - the Vec object

Output Parameters

array -the array

See Also

DMSTAG, DMStagVecGetArrayDOF()

Level

beginner

Location

src/dm/impls/stag/stagutils.c

Examples

src/dm/impls/stag/examples/tutorials/ex1.c.html
src/dm/impls/stag/examples/tutorials/ex2.c.html
src/dm/impls/stag/examples/tutorials/ex3.c.html

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