DMStag Manual Pages

petsc-3.14.5 2021-03-03
Report Typos and Errors

## DMStag - Staggered Grids: Examples

The DMStag class encapsulates a Cartesian structured mesh, with "staggered" data living on elements, faces, edges, and vertices.

Beginner - Basic usage
| DMSTAG | DMStagGetGlobalSizes | DMStagStencil
DMStagCreate1d | DMStagGetLocationSlot | DMStagStencilLocation
DMStagCreate2d | DMStagGetStencilType | DMStagStencilType
DMStagCreate3d | DMStagGetStencilWidth | DMStagVecGetArray
DMStagGetCorners | DMStagSetStencilType | DMStagVecGetArrayRead
DMStagGetDOF | DMStagSetStencilWidth | DMStagVecRestoreArray
DMStagGetGhostCorners | DMStagSetUniformCoordinatesExplicit | DMStagVecRestoreArrayRead
Intermediate - Setting options for algorithms and data structures
| DMStagCreateCompatibleDMStag | DMStagGetLocationDOF | DMStagGetProductCoordinateLocationSlot
DMStagGetBoundaryTypes | DMStagGetNumRanks | DMStagMatSetValuesStencil
DMStagGetIsFirstRank | DMStagGetOwnershipRanges | DMStagRestoreProductCoordinateArrays
DMStagGetIsLastRank | DMStagGetProductCoordinateArrays | DMStagRestoreProductCoordinateArraysRead
DMStagGetLocalSizes | DMStagGetProductCoordinateArraysRead | DMStagSetUniformCoordinatesProduct
Advanced - Setting more advanced options and customization
| DMStagMatGetValuesStencil | DMStagSetDOF | DMStagVecSetValuesStencil
DMStagMigrateVec | DMStagSetGlobalSizes | DMStagVecSplitToDMDA
DMStagSetBoundaryTypes | DMStagSetUniformCoordinates |
DMStagSetCoordinateDMType | DMStagVecGetValuesStencil |
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
| DMStagDuplicateWithoutSetup | DMStagGetEntriesPerElement | DMStagSetNumRanks
DMStagGetEntries | DMStagPopulateLocalToGlobalInjective | DMStagSetOwnershipRanges
No deprecated routines

Table of Contents