PETSc version 3.17.4
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
DMStagCreateISFromStencils
DMStagSetCoordinateDMType
DMStagVecGetValuesStencil
DMStagMatGetValuesStencil
DMStagSetDOF
DMStagVecSetValuesStencil
DMStagMigrateVec
DMStagSetGlobalSizes
DMStagVecSplitToDMDA
DMStagSetBoundaryTypes
DMStagSetUniformCoordinates
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMStagDuplicateWithoutSetup
DMStagPopulateLocalToGlobalInjective
DMStagStencilToIndexLocal
DMStagGetEntries
DMStagSetNumRanks
DMStagGetEntriesPerElement
DMStagSetOwnershipRanges
No deprecated routines
Table of Contents