**petsc-master 2019-05-24**

# DMDA

"da" - A DM object that is used to manage data for a structured grid in 1, 2, or 3 dimensions. In the global representation of the vector each process stores a non-overlapping rectangular (or slab in 3d) portion of the grid points. In the local representation these rectangular regions (slabs) are extended in all directions by a stencil width. The vectors can be thought of as either cell centered or vertex centered on the mesh. But some variables cannot be cell centered and others
vertex centered.

### See Also

DMType, DMCOMPOSITE, DMDACreate(), DMCreate(), DMSetType()

### Level

intermediate

### Location

src/dm/impls/da/dacreate.c
### Examples

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

src/dm/examples/tutorials/ex4.c.html

src/dm/examples/tutorials/ex9.c.html

src/dm/examples/tutorials/ex20.c.html

src/dm/examples/tutorials/ex13f90.F90.html

src/dm/field/examples/tutorials/ex1.c.html

src/ksp/ksp/examples/tutorials/ex43.c.html

src/ksp/ksp/examples/tutorials/ex46.c.html

src/ksp/ksp/examples/tutorials/ex49.c.html

src/ksp/ksp/examples/tutorials/ex50.c.html

src/ksp/ksp/examples/tutorials/ex66.c.html

Index of all DMDA routines

Table of Contents for all manual pages

Index of all manual pages