PETSc version 3.16.1
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
DMAdaptFlag
DMGetLabelIdIS
DMSetUseNatural
DMAdaptationCriterion
DMGetLabelSize
DMType
DMAdaptationStrategy
DMGetLabelValue
DMView
DMBoundaryConditionType
DMGetLocalBoundingBox
PetscDSType
DMBoundaryType
DMGetLocalVector
PetscDTBinomial
DMClearLabelStratum
DMGetNeighbors
PetscDTBinomialInt
DMClearLabelValue
DMGetStratumIS
PetscDTEnumPerm
DMClone
DMGetStratumSize
PetscDTEnumSubset
DMCompositeGetNumberDM
DMGetUseNatural
PetscDTFactorial
DMCreate
DMGlobalToLocal
PetscDTFactorialInt
DMCreateGlobalVector
DMLocalToGlobal
PetscDTPermIndex
DMCreateLocalVector
DMPointLocationType
PetscDTSubsetIndex
DMCreateMatrix
DMPolytopeType
PetscPartitionerCreate
DMDirection
DMRestoreGlobalVector
PetscPartitionerType
DMEnclosureType
DMRestoreLocalVector
PetscQuadrature
DMGetBoundingBox
DMSetDimension
PetscUnit
DMGetDimension
DMSetLabelValue
PetscWeakFormKind
DMGetGlobalVector
DMSetStratumIS
Intermediate - Setting options for algorithms and data structures
DM
DMGetLabel
DMSetCoordinatesLocal
DMAdaptLabel
DMGetLabelByNum
DMSetField
DMAddField
DMGetLabelName
DMSetFieldAvoidTensor
DMCOMPOSITE
DMGetLocalSection
DMSetFineDM
DMClearDS
DMGetLocalToGlobalMapping
DMSetFromOptions
DMClearFields
DMGetMatType
DMSetGlobalSection
DMCompositeGetLocalISs
DMGetNumDS
DMSetISColoringType
DMConvert
DMGetNumFields
DMSetLabel
DMCopyLabels
DMGetNumLabels
DMSetLocalSection
DMCreateDS
DMGetOutputDM
DMSetMatType
DMCreateDomainDecomposition
DMGetOutputSequenceNumber
DMSetNullSpaceConstructor
DMCreateFieldDecomposition
DMGetPointSF
DMSetNumFields
DMCreateLabel
DMGetSectionSF
DMSetOutputSequenceNumber
DMCreateLabelAtIndex
DMGetType
DMSetPointSF
DMCreateSectionSubDM
DMGetVecType
DMSetSectionSF
DMCreateSectionSuperDM
DMGlobalToLocalBegin
DMSetType
DMCreateSubDM
DMGlobalToLocalEnd
DMSetVariableBounds
DMCreateSuperDM
DMHasLabel
DMSetVecType
DMField
DMInterpolationInfo
DMViewFromOptions
DMFieldEvaluate
DMLoad
MatGetDM
DMFieldEvaluateFE
DMLocalToGlobalBegin
MatSetDM
DMFieldEvaluateFV
DMLocalToGlobalEnd
PETSCPARTITIONERCHACO
DMFieldGetDM
DMLocalToLocalBegin
PETSCPARTITIONERGATHER
DMFieldGetDegree
DMLocalToLocalEnd
PETSCPARTITIONERPARMETIS
DMFieldGetNumComponents
DMMonitorCancel
PETSCPARTITIONERPTSCOTCH
DMFieldType
DMMonitorSet
PETSCPARTITIONERSHELL
DMGetApplicationContext
DMOutputSequenceLoad
PETSCPARTITIONERSIMPLE
DMGetBlockSize
DMPATCH
PetscDS
DMGetCeed
DMPlexInterpolatedFlag
PetscDTNodeType
DMGetCoarseDM
DMProjectBdFieldLabelLocal
PetscFormKey
DMGetCoordinateDM
DMProjectCoordinates
PetscGaussLobattoLegendreCreateType
DMGetCoordinateDim
DMProjectFieldLabelLocal
PetscPartitioner
DMGetCoordinateSection
DMProjectFieldLocal
PetscPartitionerGetType
DMGetCoordinates
DMREDUNDANT
PetscPartitionerSetType
DMGetCoordinatesLocal
DMSLICED
PetscPartitionerShellGetRandom
DMGetDS
DMSetApplicationContext
PetscPartitionerShellSetRandom
DMGetDimPoints
DMSetApplicationContextDestroy
PetscPartitionerViewFromOptions
DMGetField
DMSetCoarseDM
PetscWeakForm
DMGetFieldAvoidTensor
DMSetCoordinateDM
VecGetDM
DMGetFineDM
DMSetCoordinateDim
VecSetDM
DMGetGlobalSection
DMSetCoordinateSection
DMGetISColoringType
DMSetCoordinates
Advanced - Setting more advanced options and customization
DMAdaptMetric
DMGetCoordinatesLocalTuple
DMShellGetCreateSubDM
DMAppendOptionsPrefix
DMGetDefaultConstraints
DMShellGetGlobalVector
DMCoarsenHookAdd
DMGetNumAuxiliaryVec
DMShellGetRefine
DMCoarsenHookRemove
DMGetOptionsPrefix
DMShellSetCoarsen
DMCompositeAddDM
DMGetRegionDS
DMShellSetContext
DMCompositeCreate
DMGetRegionNumDS
DMShellSetCreateDomainDecomposition
DMCompositeGather
DMGetSection
DMShellSetCreateDomainDecompositionScatters
DMCompositeGatherArray
DMGlobalToLocalBeginDefaultShell
DMShellSetCreateFieldDecomposition
DMCompositeGetAccess
DMGlobalToLocalEndDefaultShell
DMShellSetCreateGlobalVector
DMCompositeGetAccessArray
DMGlobalToLocalHookAdd
DMShellSetCreateInjection
DMCompositeGetEntries
DMLocalToGlobalBeginDefaultShell
DMShellSetCreateInterpolation
DMCompositeGetEntriesArray
DMLocalToGlobalEndDefaultShell
DMShellSetCreateLocalVector
DMCompositeGetGlobalISs
DMLocalToGlobalHookAdd
DMShellSetCreateMatrix
DMCompositeGetISLocalToGlobalMappings
DMLocalToLocalBeginDefaultShell
DMShellSetCreateRestriction
DMCompositeGetLocalAccessArray
DMLocalToLocalEndDefaultShell
DMShellSetCreateSubDM
DMCompositeGetLocalVectors
DMPolytopeGetOrientation
DMShellSetGlobalToLocal
DMCompositeRestoreAccess
DMPolytopeGetVertexOrientation
DMShellSetGlobalToLocalVecScatter
DMCompositeRestoreAccessArray
DMPolytopeInCellTest
DMShellSetGlobalVector
DMCompositeRestoreLocalAccessArray
DMPolytopeMatchOrientation
DMShellSetLocalToGlobal
DMCompositeRestoreLocalVectors
DMPolytopeMatchVertexOrientation
DMShellSetLocalToGlobalVecScatter
DMCompositeScatter
DMRedundantCreate
DMShellSetLocalToLocal
DMCompositeScatterArray
DMRedundantGetSize
DMShellSetLocalToLocalVecScatter
DMCompositeSetCoupling
DMRedundantSetSize
DMShellSetLocalVector
DMComputeVariableBounds
DMRefineHookAdd
DMShellSetMatrix
DMCopyAuxiliaryVec
DMRefineHookRemove
DMShellSetRefine
DMCopyDS
DMRegister
DMSlicedCreate
DMCopyDisc
DMRegisterAll
DMSlicedSetBlockFills
DMCopyFields
DMSetAuxiliaryVec
DMSlicedSetGhosts
DMFieldDestroy
DMSetDefaultConstraints
DMSlicedSetPreallocation
DMFieldGetType
DMSetOptionsPrefix
DMSubDomainHookAdd
DMFieldRegister
DMSetRefineLevel
DMSubDomainHookRemove
DMFieldRegisterAll
DMSetRegionDS
MatFDColoringUseDM
DMFieldSetType
DMSetRegionNumDS
PetscDSRegisterAll
DMFieldView
DMSetSection
PetscDualSpaceRegisterAll
DMFindRegionNum
DMShellCreate
PetscFERegisterAll
DMGetAuxiliaryLabels
DMShellGetCoarsen
PetscFVRegisterAll
DMGetAuxiliaryVec
DMShellGetContext
PetscLimiterRegisterAll
DMGetCompatibility
DMShellGetCreateInjection
PetscPartitionerRegister
DMGetCoordinatesLocalNoncollective
DMShellGetCreateInterpolation
PetscPartitionerRegisterAll
DMGetCoordinatesLocalSetUp
DMShellGetCreateRestriction
PetscSpaceRegisterAll
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary
DMGetLabelOutput
DMRestoreNamedLocalVector
DMAddLabel
DMGetNamedGlobalVector
DMRestoreWorkArray
DMClearGlobalVectors
DMGetNamedLocalVector
DMRestrict
DMClearLocalVectors
DMGetPeriodicity
DMSetAdjacency
DMCoarsen
DMGetRefineLevel
DMSetBasicAdjacency
DMCoarsenHierarchy
DMGetWorkArray
DMSetCoarsenLevel
DMComputeError
DMHasBasisTransform
DMSetLabelOutput
DMComputeExactSolution
DMHasColoring
DMSetMatrixPreallocateOnly
DMComputeL2Diff
DMHasCreateInjection
DMSetMatrixStructureOnly
DMComputeL2FieldDiff
DMHasCreateRestriction
DMSetPeriodicity
DMComputeL2GradientDiff
DMHasNamedGlobalVector
DMSetUp
DMCreateColoring
DMHasNamedLocalVector
DMSubDomainRestrict
DMCreateDomainDecompositionScatters
DMHasVariableBounds
DMUniversalLabel
DMCreateInjection
DMInitializePackage
PETSCPARTITIONERMATPARTITIONING
DMCreateInterpolation
DMInterpolate
PetscDSFinalizePackage
DMCreateInterpolationScale
DMInterpolateSolution
PetscDSInitializePackage
DMCreateMassMatrix
DMLabel
PetscFEFinalizePackage
DMCreateRestriction
DMLocalizeCoordinate
PetscFEInitializePackage
DMCreateSectionSF
DMLocalizeCoordinates
PetscFVFinalizePackage
DMDestroy
DMLocatePoints
PetscFVInitializePackage
DMFieldCreateDefaultQuadrature
DMMonitor
PetscPartitionerDestroy
DMFieldCreateFEGeom
DMMonitorSetFromOptions
PetscPartitionerFinalizePackage
DMFieldFinalizePackage
DMProjectFunction
PetscPartitionerInitializePackage
DMFieldInitializePackage
DMProjectFunctionLabel
PetscPartitionerMatPartitioningGetMatPartitioning
DMFinalizePackage
DMProjectFunctionLabelLocal
PetscPartitionerPartition
DMGetAdjacency
DMProjectFunctionLocal
PetscPartitionerReset
DMGetBasicAdjacency
DMRefine
PetscPartitionerSetFromOptions
DMGetCellDS
DMRefineHierarchy
PetscPartitionerSetUp
DMGetCoarsenLevel
DMRemoveLabel
PetscPartitionerShellSetPartition
DMGetCoordinatesLocalized
DMRemoveLabelBySelf
PetscPartitionerView
DMGetCoordinatesLocalizedLocal
DMRestoreNamedGlobalVector
No deprecated routines
Table of Contents