petsc-dev 2013-05-13
DM
Examples
DM objects are used to manage communication between the algebraic structures in PETSc (Vec and Mat) and mesh data structures in PDE-based (or other) simulations. See, for example, DMDACreate().
Beginner - Basic usage
DMADDAGetCorners
DMMeshGetChart
DMPlexCreateBoxMesh
DMADDAGetGhostCorners
DMMeshGetCone
DMPlexCreateCGNS
DMADDAGetMatrixNS
DMMeshGetConeSize
DMPlexCreateExodus
DMADDAMatSetValues
DMMeshGetDimension
DMPlexCreateFromCellList
DMCartesianCreate
DMMeshGetLabelIdIS
DMPlexCreate
DMCompositeGetNumberDM
DMMeshGetLabelSize
DMPlexGetChart
DMCreateGlobalVector
DMMeshGetLabelValue
DMPlexGetCone
DMCreate
DMMeshGetMaximumDegree
DMPlexGetConeOrientation
DMCreateLocalVector
DMMeshGetMaxSizes
DMPlexGetConeSize
DMCreateMatrix
DMMeshGetStratumIS
DMPlexGetDimension
DMDABoundaryType
DMMeshGetStratumSize
DMPlexGetLabelIdIS
DMDACreate1d
DMMeshGetSupport
DMPlexGetLabelSize
DMDACreate2d
DMMeshGetSupportSize
DMPlexGetLabelValue
DMDACreate3d
DMMeshGetTransitiveClosure
DMPlexGetMaxSizes
DMDAElementType
DMMeshRestrictVector
DMPlexGetStratumIS
DMDAGetBoundingBox
DMMeshSetChart
DMPlexGetStratumSize
DMDAGetCorners
DMMeshSetCone
DMPlexGetSupport
DMDAGetGhostCorners
DMMeshSetConeSize
DMPlexGetSupportSize
DMDAGetInfo
DMMeshSetDimension
DMPlexGetTransitiveClosure
DMDAGetLocalBoundingBox
DMMeshSetLabelValue
DMPlexRestoreTransitiveClosure
DMDAGetLocalInfo
DMMeshSetUp
DMPlexSetChart
DMDAInterpolationType
DMMeshStratify
DMPlexSetCone
DMDALocalInfo
DMMeshSymmetrize
DMPlexSetConeOrientation
DMDASetUniformCoordinates
DMMeshViewExodusSplit
DMPlexSetConeSize
DMDA_STENCIL_BOX
DMMoabCreate
DMPlexSetDimension
DMDA_STENCIL_STAR
DMMoabCreateVector
DMPlexSetLabelValue
DMDAStencilType
DMMoabGetBlockSize
DMPlexSetSupport
DMGetGlobalVector
DMMoabGetInterface
DMPlexSetSupportSize
DMGetLocalVector
DMMoabGetLocalToGlobalTag
DMPlexStratify
DMGlobalToLocalBegin
DMMoabGetParallelComm
DMPlexSymmetrize
DMGlobalToLocalEnd
DMMoabGetRange
DMRestoreGlobalVector
DMLocalToGlobalBegin
DMMoabGetVecRange
DMRestoreLocalVector
DMLocalToGlobalEnd
DMMoabGetVecTag
SectionIntView
DMMeshAssembleMatrixDM
DMMoabSetBlockSize
SectionRealView
DMMeshAssembleVectorComplete
DMMoabSetInterface
VecLoadExodusCell
DMMeshAssembleVector
DMMoabSetLocalToGlobalTag
VecLoadExodusCellSet
DMMeshClone
DMMoabSetParallelComm
VecLoadExodusVertex
DMMeshCreateExodus
DMMoabSetRange
VecLoadExodusVertexSet
DMMeshCreateExodusNG
DMPatchCreate
VecViewExodusCell
DMMeshCreate
DMPlexClearLabelStratum
VecViewExodusCellSet
DMMeshCreateMeshFromAdjacency
DMPlexClearLabelValue
VecViewExodusVertex
DMMeshCreatePCICE
DMPlexClone
VecViewExodusVertexSet
Intermediate - Setting options for algorithms and data structures
BCSectionGetArray
DMDASetStencilType
DMPlexInterpolate
BCSectionRealCreate
DMDASetStencilWidth
DMPlexMatSetClosure
BCSectionRealGetArray
DMDAVecGetArrayDOF
DMPlexPointGlobalRead
DMADDACreate
DMDAVecGetArray
DMPlexPointGlobalRef
DMCompositeGetLocalISs
DMDAVecRestoreArrayDOF
DMPlexPointLocalRead
DMCOMPOSITE
DMDAVecRestoreArray
DMPlexPointLocalRef
DMComputeVariableBounds
DMGetApplicationContext
DMPlexRestoreJoin
DMConvert
DMGetBlockSize
DMPlexRestoreMeet
DMCreateAggregates
DMGetCoordinateDM
DMPlexSetCoordinateSection
DMCreateDefaultSF
DMGetCoordinates
DMPlexVecGetClosure
DMCreateDomainDecomposition
DMGetCoordinatesLocal
DMPlexVecRestoreClosure
DMCreateFieldDecomposition
DMGetDefaultGlobalSection
DMPlexVecSetClosure
DMCreateFieldIS
DMGetDefaultSection
DMREDUNDANT
DMCreateSubDM
DMGetDefaultSF
DMSetApplicationContextDestroy
DMDACoor2d
DMGetLocalToGlobalMappingBlock
DMSetApplicationContext
DMDACoor3d
DMGetLocalToGlobalMapping
DMSetCoordinates
DMDAGetAO
DMGetPointSF
DMSetCoordinatesLocal
DMDAGetCoordinateName
DMGetType
DMSetDefaultGlobalSection
DMDAGetElements
DMLoad
DMSetDefaultSection
DMDAGetElementType
DMMeshCreateSectionRealIS
DMSetDefaultSF
DMDAGetFieldName
DMMeshDistribute
DMSetMatType
DMDAGetGlobalIndicesF90
DMMeshGenerate
DMSetPointSF
DMDAGetGlobalIndices
DMMeshGetCellSectionInt
DMSetType
DMDAGetInterpolationType
DMMeshGetCellSectionReal
DMSetVariableBounds
DMDAGetNeighbors
DMMeshGetCoordinates
DMSetVecType
DMDAGetNonOverlappingRegion
DMMeshGetElements
DMSLICED
DMDAGetNumLocalSubDomains
DMMeshGetSectionInt
MatCreateSeqUSFFT
DMDAGetOffset
DMMeshGetSectionReal
MatGetDM
DMDAGetOverlap
DMMeshGetVertexSectionInt
MATHYPRESSTRUCT
DMDAGetOwnershipRanges
DMMeshGetVertexSectionReal
MATHYPRESTRUCT
DMDAGetReducedDMDA
DMMeshHasSectionInt
MatSetDM
DMDAGetRefinementFactor
DMMeshHasSectionReal
MatSetupDM
DMDA
DMMeshRefine
MatSetValuesTopology
DMDALocalToLocalBegin
DMMeshSetSectionInt
PetscDTGaussJacobiQuadrature
DMDALocalToLocalEnd
DMMeshSetSectionReal
PetscDTGaussQuadrature
DMDANaturalToGlobalEnd
DMMeshSetupSection
PetscDTLegendreEval
DMDARestoreElements
DMPlexCopyCoordinates
SectionGetArray
DMDASetBoundaryType
DMPlexCreateLabel
SectionIntDistribute
DMDASetCoordinateName
DMPlexDistribute
SectionIntRestrictClosureWithArray
DMDASetDim
DMPlexGenerate
SectionIntSet
DMDASetDof
DMPlexGetCoordinateSection
SectionIntUpdateClosure
DMDASetElementType
DMPlexGetFullJoin
SectionRealAXPY
DMDASetFieldName
DMPlexGetFullMeet
SectionRealDistribute
DMDASetInterpolationType
DMPlexGetJoin
SectionRealNorm
DMDASetNonOverlappingRegion
DMPlexGetLabel
SectionRealRestrictClosure
DMDASetNumLocalSubDomains
DMPlexGetLabelName
SectionRealRestrictClosureWithArray
DMDASetNumProcs
DMPlexGetMeet
SectionRealSet
DMDASetOffset
DMPlexGetNumLabels
SectionRealToVecDM
DMDASetOverlap
DMPlexGetPointGlobal
SectionRealUpdateClosure
DMDASetOwnershipRanges
DMPlexGetPointLocal
VecGetDM
DMDASetRefinementFactor
DMPlexHasLabel
VecSetDM
DMDASetSizes
DMPLEX
Advanced - Setting more advanced options and customization
DMCartesianGetMesh
DMMeshCreateGlobalScatter
SectionIntAddSpace
DMCartesianSetMesh
DMMeshCreateMatrix
SectionIntAllocate
DMCoarsenHookAdd
DMMeshCreateScatterToZeroCell
SectionIntClear
DMCompositeAddDM
DMMeshCreateScatterToZeroCellSet
SectionIntComplete
DMCompositeCreate
DMMeshCreateScatterToZeroVertex
SectionIntCreate
DMCompositeGatherArray
DMMeshCreateScatterToZeroVertexSet
SectionIntDestroy
DMCompositeGather
DMMeshCreateVector
SectionIntGetBundle
DMCompositeGetAccessArray
DMMeshGetGlobalScatter
SectionIntGetFiberDimension
DMCompositeGetAccess
DMMeshGetMesh
SectionIntGetFibration
DMCompositeGetEntriesArray
DMMeshLoad
SectionIntGetSection
DMCompositeGetEntries
DMMeshSetMesh
SectionIntGetSize
DMCompositeGetGlobalISs
DMPlexComputeCellGeometryFVM
SectionIntRestrict
DMCompositeGetISLocalToGlobalMappings
DMPlexComputeCellGeometry
SectionIntSetBundle
DMCompositeGetLocalVectors
DMPlexCreateRigidBody
SectionIntSetFiberDimensionField
DMCompositeRestoreAccessArray
DMRedundantCreate
SectionIntSetFiberDimension
DMCompositeRestoreAccess
DMRedundantGetSize
SectionIntSetSection
DMCompositeRestoreLocalVectors
DMRedundantSetSize
SectionIntUpdate
DMCompositeScatterArray
DMRefineHookAdd
SectionIntZero
DMCompositeScatter
DMRegisterAll
SectionRealAddSpace
DMCompositeSetCoupling
DMRegister
SectionRealAllocate
DMDACreate
DMSetOptionsPrefix
SectionRealClear
DMDACreatePF
DMShellCreate
SectionRealComplete
DMDAGetArray
DMShellSetCreateGlobalVector
SectionRealCreate
DMDAGetLogicalCoordinate
DMShellSetCreateLocalVector
SectionRealCreateLocalVector
DMDAGetProcessorSubset
DMShellSetCreateMatrix
SectionRealDestroy
DMDAGetProcessorSubsets
DMShellSetGlobalToLocal
SectionRealDuplicate
DMDAGetRay
DMShellSetGlobalToLocalVecScatter
SectionRealGetBundle
DMDAGlobalToNaturalAllCreate
DMShellSetGlobalVector
SectionRealGetFiberDimension
DMDAGlobalToNaturalBegin
DMShellSetLocalToGlobal
SectionRealGetFibration
DMDAGlobalToNaturalEnd
DMShellSetLocalToGlobalVecScatter
SectionRealGetSection
DMDANaturalAllToGlobalCreate
DMShellSetLocalVector
SectionRealGetSize
DMDANaturalToGlobalBegin
DMShellSetMatrix
SectionRealRestrict
DMDARestoreArray
DMSlicedCreate
SectionRealSetBundle
DMGlobalToLocalBeginDefaultShell
DMSlicedSetBlockFills
SectionRealSetFiberDimensionField
DMGlobalToLocalEndDefaultShell
DMSlicedSetGhosts
SectionRealSetFiberDimension
DMGlobalToLocalHookAdd
DMSlicedSetPreallocation
SectionRealSetSection
DMLocalToGlobalBeginDefaultShell
DMSubDomainHookAdd
SectionRealToVec
DMLocalToGlobalEndDefaultShell
PCICERenumberBoundary
SectionRealUpdate
DMMeshCreateGlobalRealVector
PetscDTReconstructPoly
SectionRealZero
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
ADDAHCiter
DMGetNamedGlobalVector
DMPlexGetHeightStratum
ADDAHCiterStartup
DMGetNamedLocalVector
DMPlexGetSubpointMap
DMADDASetRefinement
DMGetRefineLevel
DMPlexLabelCohesiveComplete
DMClearGlobalVectors
DMGetWorkArray
DMPlexLabelComplete
DMCoarsenHierarchy
DMHasColoring
DMPlexMarkBoundaryFaces
DMCoarsen
DMHasVariableBounds
DMPlexProjectFunction
DMCreateColoring
DMInitializePackage
DMPlexRemoveLabel
DMCreateDomainDecompositionScatters
DMInterpolate
DMPlexVTKWriteAll
DMCreateInjection
DMLabelHasPoint
DMRefineHierarchy
DMCreateInterpolation
DMLocatePoints
DMRefine
DMCreateInterpolationScale
DMMeshSetMaxDof
DMRestoreNamedGlobalVector
DMDAConvertToCell
DMPlexAddLabel
DMRestoreNamedLocalVector
DMDACreateNaturalVector
DMPlexComputeJacobianActionFEM
DMRestoreWorkArray
DMDACreatePatchIS
DMPlexComputeJacobianFEM
DMRestrict
DMDACreateSection
DMPlexComputeL2Diff
DMSetFromOptions
DMDAGetScatter
DMPlexComputeResidualFEM
DMSetMatrixPreallocateOnly
DMDASetBlockFills
DMPlexConstructGhostCells
DMSetUp
DMDASetGetMatrix
DMPlexCreateSection
DMSetVec
DMDAVTKWriteAll
DMPlexCreateSubmesh
DMSubDomainRestrict
DMDestroy
DMPlexCreateSubpointIS
DMView
DMFinalizePackage
DMPlexGetDepth
PetscSectionCreateGlobalSectionLabel
DMGetCoarsenLevel
DMPlexGetDepthStratum
No deprecated routines
Table of Contents