Examples

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