petsc-master 2017-06-23
Report Typos and Errors

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
DMBoundaryConditionType DMMoabCreateBoxMesh DMMoabSetBlockSize
DMBoundaryType DMMoabCreateVector DMMoabSetInterface
DMClearLabelStratum DMMoabGetAllVertices DMMoabSetLocalElements
DMClearLabelValue DMMoabGetBlockSize DMMoabSetLocalToGlobalTag
DMClone DMMoabGetBoundaryMarkers DMMoabSetLocalVertices
DMCompositeGetNumberDM DMMoabGetDimension DMMoabSetParallelComm
DMCreate DMMoabGetElementConnectivity DMPointLocationType
DMCreateGlobalVector DMMoabGetFieldDof DMRestoreGlobalVector
DMCreateLocalVector DMMoabGetInterface DMRestoreLocalVector
DMCreateMatrix DMMoabGetLocalElements DMSetDimension
DMGetDimension DMMoabGetLocalSize DMSetLabelValue
DMGetGlobalVector DMMoabGetLocalToGlobalTag DMSetUseNatural
DMGetLabelIdIS DMMoabGetLocalVertices DMType
DMGetLabelSize DMMoabGetMaterialBlock DMView
DMGetLabelValue DMMoabGetOffset PetscDSType
DMGetLocalVector DMMoabGetParallelComm PetscDualSpaceType
DMGetNeighbors DMMoabGetSize PetscFEType
DMGetStratumIS DMMoabGetVecRange PetscFVCellGeom
DMGetStratumSize DMMoabGetVecTag PetscFVFaceGeom
DMGetUseNatural DMMoabGetVertexConnectivity PetscFVType
DMGlobalToLocalBegin DMMoabGetVertexCoordinates PetscLimiterType
DMGlobalToLocalEnd DMMoabIsEntityOnBoundary PetscPartitionerType
DMLocalToGlobalBegin DMMoabLoadFromFile PetscSpaceType
DMLocalToGlobalEnd DMMoabRestoreVertexConnectivity PetscUnit
Intermediate - Setting options for algorithms and data structures
DM DMGetNumLabels DMSLICED
DMAdaptLabel DMGetOutputDM DMSetApplicationContext
DMCOMPOSITE DMGetOutputSequenceNumber DMSetApplicationContextDestroy
DMCompositeGetLocalISs DMGetPointSF DMSetCoarseDM
DMConvert DMGetType DMSetCoordinateDM
DMCopyLabels DMGetVecType DMSetCoordinateDim
DMCreateAggregates DMHasLabel DMSetCoordinateSection
DMCreateDefaultSF DMLoad DMSetCoordinates
DMCreateDomainDecomposition DMLocalToLocalBegin DMSetCoordinatesLocal
DMCreateFieldDecomposition DMLocalToLocalEnd DMSetDefaultGlobalSection
DMCreateFieldIS DMMOAB DMSetDefaultSF
DMCreateLabel DMMoabCreate DMSetDefaultSection
DMCreateSubDM DMMoabGetDofs DMSetFineDM
DMGetApplicationContext DMMoabGetDofsBlocked DMSetMatType
DMGetBlockSize DMMoabGetDofsBlockedLocal DMSetOutputSequenceNumber
DMGetCoarseDM DMMoabGetDofsLocal DMSetPointSF
DMGetCoordinateDM DMMoabGetFieldDofs DMSetType
DMGetCoordinateDim DMMoabGetFieldDofsLocal DMSetVariableBounds
DMGetCoordinateSection DMMoabGetFieldName DMSetVecType
DMGetCoordinates DMMoabGetVertexDofsBlocked MatGetDM
DMGetCoordinatesLocal DMMoabGetVertexDofsBlockedLocal MatSetDM
DMGetDefaultGlobalSection DMMoabOutput PetscDS
DMGetDefaultSF DMMoabSetFieldName PetscDualSpace
DMGetDefaultSection DMMoabSetFieldNames PetscFE
DMGetDimPoints DMMoabSetFieldVector PetscFEJacobianType
DMGetFineDM DMMoabSetGlobalFieldVector PetscFV
DMGetLabel DMMoabVecGetArray PetscLimiter
DMGetLabelByNum DMMoabVecGetArrayRead PetscPartitioner
DMGetLabelName DMMoabVecRestoreArray PetscSpace
DMGetLocalToGlobalMapping DMOutputSequenceLoad VecGetDM
DMGetMatType DMPATCH VecSetDM
DMGetNumBoundary DMREDUNDANT
Advanced - Setting more advanced options and customization
DMAdaptMetric DMGlobalToLocalHookAdd DMShellSetCreateRestriction
DMAppendOptionsPrefix DMLocalToGlobalBeginDefaultShell DMShellSetCreateSubDM
DMCoarsenHookAdd DMLocalToGlobalEndDefaultShell DMShellSetGlobalToLocal
DMCompositeAddDM DMLocalToGlobalHookAdd DMShellSetGlobalToLocalVecScatter
DMCompositeCreate DMLocalToLocalBeginDefaultShell DMShellSetGlobalVector
DMCompositeGather DMLocalToLocalEndDefaultShell DMShellSetLocalToGlobal
DMCompositeGatherArray DMRedundantCreate DMShellSetLocalToGlobalVecScatter
DMCompositeGetAccess DMRedundantGetSize DMShellSetLocalToLocal
DMCompositeGetAccessArray DMRedundantSetSize DMShellSetLocalToLocalVecScatter
DMCompositeGetEntries DMRefineHookAdd DMShellSetLocalVector
DMCompositeGetEntriesArray DMRegister DMShellSetMatrix
DMCompositeGetGlobalISs DMRegisterAll DMShellSetRefine
DMCompositeGetISLocalToGlobalMappings DMSetDefaultConstraints DMSlicedCreate
DMCompositeGetLocalAccessArray DMSetOptionsPrefix DMSlicedSetBlockFills
DMCompositeGetLocalVectors DMSetRefineLevel DMSlicedSetGhosts
DMCompositeRestoreAccess DMShellCreate DMSlicedSetPreallocation
DMCompositeRestoreAccessArray DMShellGetContext DMSubDomainHookAdd
DMCompositeRestoreLocalAccessArray DMShellSetCoarsen MatFDColoringUseDM
DMCompositeRestoreLocalVectors DMShellSetContext PetscDSRegisterAll
DMCompositeScatter DMShellSetCreateDomainDecomposition PetscDualSpaceRegisterAll
DMCompositeScatterArray DMShellSetCreateDomainDecompositionScatters PetscFERegisterAll
DMCompositeSetCoupling DMShellSetCreateFieldDecomposition PetscFVRegisterAll
DMComputeVariableBounds DMShellSetCreateGlobalVector PetscLimiterRegisterAll
DMGetDefaultConstraints DMShellSetCreateInjection PetscPartitionerRegisterAll
DMGetOptionsPrefix DMShellSetCreateInterpolation PetscSpaceRegisterAll
DMGlobalToLocalBeginDefaultShell DMShellSetCreateLocalVector
DMGlobalToLocalEndDefaultShell DMShellSetCreateMatrix
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMGetLabelOutput DMRestoreNamedGlobalVector
DMAddLabel DMGetNamedGlobalVector DMRestoreNamedLocalVector
DMClearGlobalVectors DMGetNamedLocalVector DMRestoreWorkArray
DMClearLocalVectors DMGetRefineLevel DMRestrict
DMCoarsen DMGetWorkArray DMSetDS
DMCoarsenHierarchy DMHasColoring DMSetField
DMComputeL2Diff DMHasCreateRestriction DMSetFromOptions
DMComputeL2FieldDiff DMHasNamedGlobalVector DMSetLabelOutput
DMComputeL2GradientDiff DMHasNamedLocalVector DMSetMatrixPreallocateOnly
DMCreateColoring DMHasVariableBounds DMSetMatrixStructureOnly
DMCreateDomainDecompositionScatters DMInitializePackage DMSetPeriodicity
DMCreateInjection DMInterpolate DMSetUp
DMCreateInterpolation DMLabel DMSetVec
DMCreateRestriction DMLocalizeCoordinate DMSubDomainRestrict
DMDestroy DMLocalizeCoordinates PetscDSFinalizePackage
DMFinalizePackage DMLocatePoints PetscDSInitializePackage
DMGetBoundary DMMoabSetBlockFills PetscFEFinalizePackage
DMGetCoarsenLevel DMProjectFunction PetscFEInitializePackage
DMGetCoordinatesLocalized DMRefine PetscFVFinalizePackage
DMGetDS DMRefineHierarchy PetscFVInitializePackage
DMGetField DMRemoveLabel PetscQuadrature
No deprecated routines

Table of Contents