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: Run C version of TetGen to construct and refine a mesh\n\n
ex3.c: Check that a DM can accurately represent and interpolate functions of a given polynomial order\n\n
ex9.c: Performance tests for DMPlex query operations\n\n
ex15.c: An example of writing a global Vec from a DMPlex with HDF5 format
makefile