DMDA Manual Pages

PETSc version 3.17.0

## DMDA

The DMDA class encapsulates a Cartesian structured mesh, with interfaces for both topology and geometry. It is capable of parallel refinement and coarsening. Some support for parallel redistribution is available through the PCTELESCOPE object. A piecewise linear discretization is assumed for operations which require this information.

Beginner - Basic usage
| DMDACreate1d | DMDAGetGhostCorners | DMDASetUniformCoordinates
DMDACreate2d | DMDAGetInfo | DMDAStencilType
DMDACreate3d | DMDAGetLocalInfo | DMDA_STENCIL_BOX
DMDAElementType | DMDAInterpolationType | DMDA_STENCIL_STAR
DMDAGetCorners | DMDALocalInfo |
Intermediate - Setting options for algorithms and data structures
| DMCreateAggregates | DMDAGetRefinementFactor | DMDASetStencilType
DMDA | DMDAGetStencilType | DMDASetStencilWidth
DMDACoor2d | DMDAGetStencilWidth | DMDAVecGetArray
DMDACoor3d | DMDAGetSubdomainCornersIS | DMDAVecGetArrayDOF
DMDACreateAggregates | DMDARestoreCoordinateArray | DMDAVecGetArrayDOFRead
DMDACreateCompatibleDMDA | DMDARestoreElements | DMDAVecGetArrayDOFWrite
DMDAGetAO | DMDARestoreSubdomainCornersIS | DMDAVecGetArrayRead
DMDAGetCoordinateArray | DMDASetAOType | DMDAVecGetArrayWrite
DMDAGetCoordinateName | DMDASetBoundaryType | DMDAVecGetKokkosOffsetView
DMDAGetDof | DMDASetCoordinateName | DMDAVecGetKokkosOffsetViewDOF
DMDAGetElementType | DMDASetDof | DMDAVecRestoreArray
DMDAGetElements | DMDASetElementType | DMDAVecRestoreArrayDOF
DMDAGetElementsCorners | DMDASetFieldName | DMDAVecRestoreArrayDOFRead
DMDAGetElementsSizes | DMDASetFieldNames | DMDAVecRestoreArrayDOFWrite
DMDAGetFieldName | DMDASetInterpolationType | DMDAVecRestoreArrayRead
DMDAGetFieldNames | DMDASetNonOverlappingRegion | DMDAVecRestoreArrayWrite
DMDAGetInterpolationType | DMDASetNumLocalSubDomains | DMDAVecRestoreKokkosOffsetView
DMDAGetNeighbors | DMDASetNumProcs | DMDAVecRestoreKokkosOffsetViewDOF
DMDAGetNonOverlappingRegion | DMDASetOffset | MATHYPRESSTRUCT
DMDAGetNumLocalSubDomains | DMDASetOverlap | MATHYPRESTRUCT
DMDAGetOffset | DMDASetOwnershipRanges | MatCreateSeqUSFFT
DMDAGetOverlap | DMDASetRefinementFactor | MatSetupDM
DMDAGetOwnershipRanges | DMDASetSizes |
Advanced - Setting more advanced options and customization
| DMDACreate | DMDAGetProcessorSubsets | DMDANaturalAllToGlobalCreate
DMDACreatePF | DMDAGetRay | DMDANaturalToGlobalBegin
DMDAGetArray | DMDAGlobalToNaturalAllCreate | DMDANaturalToGlobalEnd
DMDAGetLogicalCoordinate | DMDAGlobalToNaturalBegin | DMDARestoreArray
DMDAGetProcessorSubset | DMDAGlobalToNaturalEnd | DMDASetGLLCoordinates
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
| DMDAConvertToCell | DMDAGetNumCells | DMDASetBlockFillsSparse
DMDACreateNaturalVector | DMDAGetPreallocationCenterDimension | DMDASetGetMatrix
DMDACreatePatchIS | DMDAGetScatter | DMDASetPreallocationCenterDimension
DMDAGetCellPoint | DMDASetBlockFills | DMDAVTKWriteAll
Deprecated - Functionality scheduled for removal in future versions
| DMDAGetReducedDMDA |  |

Table of Contents