Examples
ex1.c: Tests various DM routines.
ex10.c:
ex11.c: Tests various 2-dimensional DMDA routines.
ex12.c:
ex13.c: Tests loading DM vector from file.
ex14.c: Tests saving DMDA vectors to files.
ex15.c: Tests DMDA interpolation.
ex16.c: Tests DMComposite routines.
ex19.c: Tests DMDA with variable multiple degrees of freedom per node.
ex1f.F90:
ex1k.kokkos.cxx: Tests DMDAVecGetKokkosOffsetView() and DMDAVecGetKokkosOffsetViewDOF()
ex2.c: Tests various 1-dimensional DMDA routines.
ex20.c: Tests DMDACreate3d() memory usage
ex21.c: Test DMCreateInjection() for mapping coordinates in 3D";
ex22.c: Tests MatSetValuesBlockedStencil() in 3d.
ex23.c: Tests VecView()/VecLoad() for DMDA vectors (this tests DMDAGlobalToNatural()).
ex24.c: Tests DMLocalToGlobal() for dof > 1
ex25.c: Tests DMLocalToGlobal() for dof > 1
ex26.c: Tests error message in DMCreateColoring() with periodic boundary conditions.
ex27.c: Test sequential USFFT interface on a uniform DMDA and compares the result to FFTW
ex28.c: Test sequential USFFT interface on a 3-dof field over a uniform DMDA and compares to the result of FFTW acting on a split version of the field
ex2k.kokkos.cxx: Benchmarking various accessing methods of DMDA vectors on host
ex3.c: Solves the 1-dimensional wave equation.
ex30.c: Tests DMSLICED operations
ex31.c: Tests MAIJ matrix for large DOF
ex32.c: Tests DMDA ghost coordinates
ex33.c: Tests VecView()/VecLoad() for DMDA vectors (this tests DMDAGlobalToNatural()).
ex34.c: Test DMDAGetOwnershipRanges()
ex35.c: MatLoad test for loading matrices that are created by DMCreateMatrix() and
ex36.c: Checks the functionality of DMGetInterpolation() on deformed grids.
ex37.c: VecView() with a DMDA1d vector and draw viewer.
ex38.c: Tests DMGlobalToLocal() for 3d DA with stencil width of 2.
ex39.c: Tests mirror boundary conditions in 1-d.
ex4.c: Tests various 2-dimensional DMDA routines.
ex40.c: Tests mirror boundary conditions in 2-d.
ex41.c: Tests mirror boundary conditions in 3-d.
ex42.c:
ex43.c: Demonstrates the DMLocalToLocal bug in PETSc 3.6.
ex44.c: Tests various DMComposite routines.
ex45.c:
ex46.c: Tests DMGetCompatibility() with a 3D DMDA.
ex47.c: Test VTK structured grid (.vts) viewer support
ex48.c: Test VTK structured (.vts) and rectilinear (.vtr) viewer support with multi-dof DMDAs.
ex49.c: Test basic DMProduct operations.
ex5.c:
ex50.c: Test GLVis high-order support with DMDAs
ex51.c: Tests DMDAGlobalToNaturalAllCreate() using contour plotting for 2d DMDAs.
ex52.c: Tests periodic boundary conditions for DMDA1d with periodic boundary conditions.
ex53.c: Use DMDACreatePatchIS to extract a slice from a vector, Command line options :
ex6.c: Tests various 3-dimensional DMDA routines.
ex7.c: Tests DMLocalToLocalxxx() for DMDA.
ex8.c: Test parallel ruotines for GLVis
ex9.c: Tests DMCreateMatrix for DMComposite.
noflux_check.c: Check to see of DM_BOUNDARY_MIRROR works in 3D for DMDA with star stencil