petsc-3.7.7 2017-09-25
Report Typos and Errors

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
ex2.c: Tests DMDAGlobalToNaturalAllCreate() using 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
ex7.c: Demonstrates using PetscViewerPushFormat(viewer,PETSC_FORMAT_BINARY_MATLAB)\n\n
ex8.c: Tests imbedding DMComposites inside DMComposites
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:
ex51.c: Tests DMDAVecGetArrayDOF()\n
ex65dm.c: Tests coarsening with DM
makefile