petsc-3.8.4 2018-03-24
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
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 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

Table of Contents