petsc-master 2017-08-16
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 DMMoabRestoreVertexConnectivity
DMBoundaryType DMMoabCreateElement DMMoabSetBlockSize
DMClearLabelStratum DMMoabCreateVector DMMoabSetInterface
DMClearLabelValue DMMoabCreateVertices DMMoabSetLocalElements
DMClone DMMoabGenerateHierarchy DMMoabSetLocalToGlobalTag
DMCoarsenHierarchy_Moab DMMoabGetAllVertices DMMoabSetLocalVertices
DMCompositeGetNumberDM DMMoabGetBlockSize DMPointLocationType
DMCreate DMMoabGetBoundaryMarkers DMRefineHierarchy_Moab
DMCreateGlobalVector DMMoabGetDimension DMRestoreGlobalVector
DMCreateInjection_Moab DMMoabGetElementConnectivity DMRestoreLocalVector
DMCreateLocalVector DMMoabGetFieldDof DMSetDimension
DMCreateMatrix DMMoabGetHierarchyLevel DMSetLabelValue
DMGetDimension DMMoabGetInterface DMSetUseNatural
DMGetGlobalVector DMMoabGetLocalElements DMType
DMGetLabelIdIS DMMoabGetLocalSize DMView
DMGetLabelSize DMMoabGetLocalToGlobalTag PetscDSType
DMGetLabelValue DMMoabGetLocalVertices PetscDualSpaceType
DMGetLocalVector DMMoabGetMaterialBlock PetscFEType
DMGetNeighbors DMMoabGetOffset PetscFVCellGeom
DMGetStratumIS DMMoabGetParallelComm PetscFVFaceGeom
DMGetStratumSize DMMoabGetSize PetscFVType
DMGetUseNatural DMMoabGetVecRange PetscLimiterType
DMGlobalToLocalBegin DMMoabGetVecTag PetscPartitionerType
DMGlobalToLocalEnd DMMoabGetVertexConnectivity PetscSpaceType
DMLocalToGlobalBegin DMMoabGetVertexCoordinates PetscUnit
DMLocalToGlobalEnd DMMoabIsEntityOnBoundary
DMMoabCreate DMMoabLoadFromFile
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 DMMoabCreateMoab 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 DMShellSetCreateLocalVector
DMAppendOptionsPrefix DMLocalToGlobalBeginDefaultShell DMShellSetCreateMatrix
DMCoarsenHookAdd DMLocalToGlobalEndDefaultShell DMShellSetCreateRestriction
DMCompositeAddDM DMLocalToGlobalHookAdd DMShellSetCreateSubDM
DMCompositeCreate DMLocalToLocalBeginDefaultShell DMShellSetGlobalToLocal
DMCompositeGather DMLocalToLocalEndDefaultShell DMShellSetGlobalToLocalVecScatter
DMCompositeGatherArray DMMoabCreateSubmesh DMShellSetGlobalVector
DMCompositeGetAccess DMMoabRenumberMeshEntities DMShellSetLocalToGlobal
DMCompositeGetAccessArray DMRedundantCreate DMShellSetLocalToGlobalVecScatter
DMCompositeGetEntries DMRedundantGetSize DMShellSetLocalToLocal
DMCompositeGetEntriesArray DMRedundantSetSize DMShellSetLocalToLocalVecScatter
DMCompositeGetGlobalISs DMRefineHookAdd DMShellSetLocalVector
DMCompositeGetISLocalToGlobalMappings DMRegister DMShellSetMatrix
DMCompositeGetLocalAccessArray DMRegisterAll DMShellSetRefine
DMCompositeGetLocalVectors DMSetDefaultConstraints DMSlicedCreate
DMCompositeRestoreAccess DMSetOptionsPrefix DMSlicedSetBlockFills
DMCompositeRestoreAccessArray DMSetRefineLevel DMSlicedSetGhosts
DMCompositeRestoreLocalAccessArray DMShellCreate DMSlicedSetPreallocation
DMCompositeRestoreLocalVectors DMShellGetContext DMSubDomainHookAdd
DMCompositeScatter DMShellSetCoarsen MatFDColoringUseDM
DMCompositeScatterArray DMShellSetContext PetscDSRegisterAll
DMCompositeSetCoupling DMShellSetCreateDomainDecomposition PetscDualSpaceRegisterAll
DMComputeVariableBounds DMShellSetCreateDomainDecompositionScatters PetscFERegisterAll
DMGetDefaultConstraints DMShellSetCreateFieldDecomposition PetscFVRegisterAll
DMGetOptionsPrefix DMShellSetCreateGlobalVector PetscLimiterRegisterAll
DMGlobalToLocalBeginDefaultShell DMShellSetCreateInjection PetscPartitionerRegisterAll
DMGlobalToLocalEndDefaultShell DMShellSetCreateInterpolation PetscSpaceRegisterAll
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMGetLabelOutput DMRestoreNamedGlobalVector
DMAddLabel DMGetNamedGlobalVector DMRestoreNamedLocalVector
DMClearGlobalVectors DMGetNamedLocalVector DMRestoreWorkArray
DMClearLocalVectors DMGetPeriodicity DMRestrict
DMCoarsen DMGetRefineLevel DMSetDS
DMCoarsenHierarchy DMGetWorkArray DMSetField
DMCoarsen_Moab DMHasColoring DMSetFromOptions
DMComputeL2Diff DMHasCreateRestriction DMSetLabelOutput
DMComputeL2FieldDiff DMHasNamedGlobalVector DMSetMatrixPreallocateOnly
DMComputeL2GradientDiff DMHasNamedLocalVector DMSetMatrixStructureOnly
DMCreateColoring DMHasVariableBounds DMSetPeriodicity
DMCreateDomainDecompositionScatters DMInitializePackage DMSetUp
DMCreateInjection DMInterpolate DMSetVec
DMCreateInterpolation DMLabel DMSubDomainRestrict
DMCreateInterpolation_Moab DMLocalizeCoordinate PetscDSFinalizePackage
DMCreateRestriction DMLocalizeCoordinates PetscDSInitializePackage
DMDestroy DMLocatePoints PetscFEFinalizePackage
DMFinalizePackage DMMoabSetBlockFills PetscFEInitializePackage
DMGetBoundary DMProjectFunction PetscFVFinalizePackage
DMGetCoarsenLevel DMRefine PetscFVInitializePackage
DMGetCoordinatesLocalized DMRefineHierarchy PetscQuadrature
DMGetDS DMRefine_Moab
DMGetField DMRemoveLabel
No deprecated routines
None: Not yet cataloged
Compute_Lagrange_Basis_1D_Internal: Compute_Lagrange_Basis_3D_Internal: DMMoabFEMCreateQuadratureDefault:
Compute_Lagrange_Basis_2D_Internal: DMMoabFEMComputeBasis: DMMoabPToRMapping:

Table of Contents