petsc-master 2020-09-20
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