petsc-3.11.4 2019-09-28
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 DMStagStencilType
DMStagCreate1d DMStagGetLocationSlot DMStagVecGetArrayDOF
DMStagCreate2d DMStagGetStencilWidth DMStagVecGetArrayDOFRead
DMStagCreate3d DMStagSetGhostType DMStagVecRestoreArrayDOF
DMStagGetCorners DMStagSetUniformCoordinatesExplicit DMStagVecRestoreArrayDOFRead
DMStagGetDOF DMStagStencil
DMStagGetGhostCorners DMStagStencilLocation
Intermediate - Setting options for algorithms and data structures
DMStagCreateCompatibleDMStag DMStagGetIsFirstRank DMStagGetNumRanks
DMStagGet1dCoordinateArraysDOFRead DMStagGetIsLastRank DMStagMatSetValuesStencil
DMStagGet1dCoordinateLocationSlot DMStagGetLocalSizes DMStagRestore1dCoordinateArraysDOFRead
DMStagGetBoundaryTypes DMStagGetLocationDOF DMStagSetUniformCoordinatesProduct
Advanced - Setting more advanced options and customization
DMStagMigrateVec DMStagSetDOF DMStagVecGetValuesStencil
DMStagSetBoundaryTypes DMStagSetGlobalSizes DMStagVecSetValuesStencil
DMStagSetCoordinateDMType DMStagSetUniformCoordinates DMStagVecSplitToDMDA
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMStagGetEntriesPerElement DMStagSetNumRanks DMStagSetOwnershipRanges
No deprecated routines

Table of Contents