petsc-master 2017-11-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
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 DMRemoveLabel
DMAddLabel DMGetLabelOutput DMRestoreNamedGlobalVector
DMClearGlobalVectors DMGetNamedGlobalVector DMRestoreNamedLocalVector
DMClearLocalVectors DMGetNamedLocalVector DMRestoreWorkArray
DMCoarsen DMGetPeriodicity DMRestrict
DMCoarsenHierarchy DMGetRefineLevel DMSetDS
DMCoarsen_Moab DMGetWorkArray DMSetField
DMComputeL2Diff DMHasColoring DMSetFromOptions
DMComputeL2FieldDiff DMHasCreateRestriction DMSetLabelOutput
DMComputeL2GradientDiff DMHasNamedGlobalVector DMSetMatrixPreallocateOnly
DMCreateColoring DMHasNamedLocalVector DMSetMatrixStructureOnly
DMCreateDomainDecompositionScatters DMHasVariableBounds DMSetPeriodicity
DMCreateInjection DMInitializePackage DMSetUp
DMCreateInterpolation DMInterpolate DMSetVec
DMCreateInterpolation_Moab DMLabel DMSubDomainRestrict
DMCreateMassMatrix DMLocalizeCoordinate PetscDSFinalizePackage
DMCreateRestriction DMLocalizeCoordinates PetscDSInitializePackage
DMDestroy DMLocatePoints PetscFEFinalizePackage
DMFinalizePackage DMMoabSetBlockFills PetscFEInitializePackage
DMGetBoundary DMProjectFunction PetscFVFinalizePackage
DMGetCoarsenLevel DMRefine PetscFVInitializePackage
DMGetCoordinatesLocalized DMRefineHierarchy PetscQuadrature
DMGetDS DMRefine_Moab
No deprecated routines

Table of Contents