## DM Examples

DM objects are used to manage communication between the algebraic structures in PETSc (Vec and Mat) and mesh data structures in PDE-based (or other) simulations. See, for example, DMDACreate().

ex1.c: Tests VecView() contour plotting for 2d DMDAs
ex3.c: Tests DMCreateInterpolation() for nonuniform DMDA coordinates
ex4.c: Demonstrates various vector routines for DMDA
ex5.c: Tests DMDAGetElements() and VecView() contour plotting for 2d DMDAs
ex6.c: \n\n
ex7.c: Demonstrates using PetscViewerPushFormat(viewer,PETSC_VIEWER_BINARY_MATLAB)\n\n
ex9.c: Demonstrates HDF5 vector input/ouput\n\n
ex10.c: Test to write HDF5 file from PETSc DMDA Vec
ex12.c: Tests DMGetGlobalVector() and DMRestoreGlobalVector()
ex15.c: Tests VecView() functionality with DMDA objects when using:
ex19.c: Test for DMDA with overlap
ex20.c: DMSwarm-PIC demonstator of inserting points into a cell DM \n\
ex21.c: DMSwarm-PIC demonstator of advecting points within cell DM defined by a DA or PLEX object \n\
ex51.c: Tests DMDAVecGetArrayDOF()\n
swarm_ex1.c: Tests DMSwarm\n\n
swarm_ex2.c: Tests DMSwarm\n\n
swarm_ex3.c: Tests DMSwarm with DMShell\n\n
makefile