petsc-3.9.4 2018-09-11
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
DMAdaptFlag DMLocalToGlobalEnd DMMoabLoadFromFile
DMAdaptationCriterion DMMoabCreate DMMoabRestoreVertexConnectivity
DMAdaptationStrategy DMMoabCreateBoxMesh DMMoabSetBlockSize
DMBoundaryConditionType DMMoabCreateElement DMMoabSetInterface
DMBoundaryType DMMoabCreateVector DMMoabSetLocalElements
DMClearLabelStratum DMMoabCreateVertices DMMoabSetLocalToGlobalTag
DMClearLabelValue DMMoabGenerateHierarchy DMMoabSetLocalVertices
DMClone DMMoabGetAllVertices DMPointLocationType
DMCoarsenHierarchy_Moab DMMoabGetBlockSize DMRefineHierarchy_Moab
DMCompositeGetNumberDM DMMoabGetBoundaryMarkers DMRestoreGlobalVector
DMCreate DMMoabGetDimension DMRestoreLocalVector
DMCreateGlobalVector DMMoabGetElementConnectivity DMSetDimension
DMCreateInjection_Moab DMMoabGetFieldDof DMSetLabelValue
DMCreateLocalVector DMMoabGetHierarchyLevel DMSetUseNatural
DMCreateMatrix DMMoabGetInterface DMType
DMGetDimension DMMoabGetLocalElements DMView
DMGetGlobalVector DMMoabGetLocalSize PetscDSType
DMGetLabelIdIS DMMoabGetLocalToGlobalTag PetscDualSpaceType
DMGetLabelSize DMMoabGetLocalVertices PetscFEType
DMGetLabelValue DMMoabGetMaterialBlock PetscFVCellGeom
DMGetLocalVector DMMoabGetOffset PetscFVFaceGeom
DMGetNeighbors DMMoabGetParallelComm PetscFVType
DMGetStratumIS DMMoabGetSize PetscLimiterType
DMGetStratumSize DMMoabGetVecRange PetscPartitionerType
DMGetUseNatural DMMoabGetVecTag PetscSpaceType
DMGlobalToLocalBegin DMMoabGetVertexConnectivity PetscUnit
DMGlobalToLocalEnd DMMoabGetVertexCoordinates
DMLocalToGlobalBegin DMMoabIsEntityOnBoundary
Intermediate - Setting options for algorithms and data structures
DM DMGetNumBoundary DMSLICED
DMAdaptLabel DMGetNumLabels DMSetApplicationContext
DMCOMPOSITE DMGetOutputDM DMSetApplicationContextDestroy
DMCompositeGetLocalISs DMGetOutputSequenceNumber DMSetCoarseDM
DMConvert DMGetPointSF DMSetCoordinateDM
DMCopyLabels DMGetType DMSetCoordinateDim
DMCreateAggregates DMGetVecType DMSetCoordinateSection
DMCreateDefaultSF DMHasLabel DMSetCoordinates
DMCreateDomainDecomposition DMLoad DMSetCoordinatesLocal
DMCreateFieldDecomposition DMLocalToLocalBegin DMSetDefaultGlobalSection
DMCreateFieldIS DMLocalToLocalEnd DMSetDefaultSF
DMCreateLabel DMMOAB DMSetDefaultSection
DMCreateSubDM DMMoabCreateMoab DMSetFineDM
DMCreateSuperDM DMMoabGetDofs DMSetISColoringType
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
DMGetISColoringType DMMoabVecGetArray PetscLimiter
DMGetLabel DMMoabVecGetArrayRead PetscPartitioner
DMGetLabelByNum DMMoabVecRestoreArray PetscSpace
DMGetLabelName DMOutputSequenceLoad VecGetDM
DMGetLocalToGlobalMapping DMPATCH VecSetDM
DMGetMatType DMREDUNDANT
Advanced - Setting more advanced options and customization
Compute_Lagrange_Basis_1D_Internal DMGlobalToLocalEndDefaultShell DMShellSetCreateInjection
Compute_Lagrange_Basis_2D_Internal DMGlobalToLocalHookAdd DMShellSetCreateInterpolation
Compute_Lagrange_Basis_3D_Internal DMLocalToGlobalBeginDefaultShell DMShellSetCreateLocalVector
DMAdaptMetric DMLocalToGlobalEndDefaultShell DMShellSetCreateMatrix
DMAppendOptionsPrefix DMLocalToGlobalHookAdd DMShellSetCreateRestriction
DMCoarsenHookAdd DMLocalToLocalBeginDefaultShell DMShellSetCreateSubDM
DMCoarsenHookRemove DMLocalToLocalEndDefaultShell DMShellSetGlobalToLocal
DMCompositeAddDM DMMoabCreateSubmesh DMShellSetGlobalToLocalVecScatter
DMCompositeCreate DMMoabFEMComputeBasis DMShellSetGlobalVector
DMCompositeGather DMMoabFEMCreateQuadratureDefault DMShellSetLocalToGlobal
DMCompositeGatherArray DMMoabPToRMapping DMShellSetLocalToGlobalVecScatter
DMCompositeGetAccess DMMoabRenumberMeshEntities DMShellSetLocalToLocal
DMCompositeGetAccessArray DMRedundantCreate DMShellSetLocalToLocalVecScatter
DMCompositeGetEntries DMRedundantGetSize DMShellSetLocalVector
DMCompositeGetEntriesArray DMRedundantSetSize DMShellSetMatrix
DMCompositeGetGlobalISs DMRefineHookAdd DMShellSetRefine
DMCompositeGetISLocalToGlobalMappings DMRefineHookRemove DMSlicedCreate
DMCompositeGetLocalAccessArray DMRegister DMSlicedSetBlockFills
DMCompositeGetLocalVectors DMRegisterAll DMSlicedSetGhosts
DMCompositeRestoreAccess DMSetDefaultConstraints DMSlicedSetPreallocation
DMCompositeRestoreAccessArray DMSetOptionsPrefix DMSubDomainHookAdd
DMCompositeRestoreLocalAccessArray DMSetRefineLevel DMSubDomainHookRemove
DMCompositeRestoreLocalVectors DMShellCreate MatFDColoringUseDM
DMCompositeScatter DMShellGetContext PetscDSRegisterAll
DMCompositeScatterArray DMShellSetCoarsen PetscDualSpaceRegisterAll
DMCompositeSetCoupling DMShellSetContext PetscFERegisterAll
DMComputeVariableBounds DMShellSetCreateDomainDecomposition PetscFVRegisterAll
DMGetDefaultConstraints DMShellSetCreateDomainDecompositionScatters PetscLimiterRegisterAll
DMGetOptionsPrefix DMShellSetCreateFieldDecomposition PetscPartitionerRegisterAll
DMGlobalToLocalBeginDefaultShell DMShellSetCreateGlobalVector PetscSpaceRegisterAll
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMGetField DMRefine_Moab
DMAddLabel DMGetLabelOutput DMRemoveLabel
DMClearGlobalVectors DMGetNamedGlobalVector DMRestoreNamedGlobalVector
DMClearLocalVectors DMGetNamedLocalVector DMRestoreNamedLocalVector
DMCoarsen DMGetPeriodicity DMRestoreWorkArray
DMCoarsenHierarchy DMGetRefineLevel DMRestrict
DMCoarsen_Moab DMGetWorkArray DMSetDS
DMComputeL2Diff DMHasColoring DMSetField
DMComputeL2FieldDiff DMHasCreateInjection DMSetFromOptions
DMComputeL2GradientDiff DMHasCreateRestriction DMSetLabelOutput
DMCreateColoring DMHasNamedGlobalVector DMSetMatrixPreallocateOnly
DMCreateDomainDecompositionScatters DMHasNamedLocalVector DMSetMatrixStructureOnly
DMCreateInjection DMHasVariableBounds DMSetPeriodicity
DMCreateInterpolation DMInitializePackage DMSetUp
DMCreateInterpolation_Moab DMInterpolate DMSetVec
DMCreateMassMatrix DMLabel DMSubDomainRestrict
DMCreateRestriction DMLocalizeCoordinate PetscDSFinalizePackage
DMDestroy DMLocalizeCoordinates PetscDSInitializePackage
DMFinalizePackage DMLocatePoints PetscFEFinalizePackage
DMGetBoundary DMMoabSetBlockFills PetscFEInitializePackage
DMGetCoarsenLevel DMProjectFunction PetscFVFinalizePackage
DMGetCoordinatesLocalized DMRefine PetscFVInitializePackage
DMGetDS DMRefineHierarchy PetscQuadrature
No deprecated routines

Table of Contents