Examples

ex9.c: Demonstrates HDF5 vector input/output
ex11f90.F90:
ex5.c: Tests DMDAGetElements() and VecView() contour plotting for 2d DMDAs.
ex12.c: Tests DMGetGlobalVector() and DMRestoreGlobalVector().
ex22.c: Extract a 2D slice in natural ordering from a 3D vector, Command line options :
ex21.c: DMSwarm-PIC demonstrator of advecting points within cell DM defined by a DA or PLEX object
ex13f90.F90:
swarm_ex2.c: Tests DMSwarm
ex7.c: Demonstrates using PetscViewerPushFormat(viewer,PETSC_VIEWER_BINARY_MATLAB)
ex25.c: Takes a patch of a large DMDA vector to one process.
ex14.c: Tests DMCreateDomainDecomposition.
ex15.c: Tests VecView() functionality with DMDA objects when using:"
ex10.c:
swarm_ex3.c: Tests DMSwarm with DMShell
ex20.c: DMSwarm-PIC demonstrator of inserting points into a cell DM
ex4.c: Demonstrates various vector routines for DMDA.
ex3.c: Tests DMCreateInterpolation() for nonuniform DMDA coordinates.
ex13f90aux.F90:
ex51.c: Tests DMDAVecGetArrayDOF()
ex19.c:
swarm_ex1.c: Tests DMSwarm
ex6.c:
ex1.c: Tests VecView() contour plotting for 2d DMDAs.
ex2.c: Demonstrates Conway's Game of Life using a 2d DMDA.
ex26.c: Calculates moments for Gaussian functions.