petsc-master 2018-01-20
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 DMREDUNDANT
DMAdaptLabel DMGetNumLabels DMSLICED
DMCOMPOSITE DMGetOutputDM DMSetApplicationContext
DMCompositeGetLocalISs DMGetOutputSequenceNumber DMSetApplicationContextDestroy
DMConvert DMGetPointSF DMSetCoarseDM
DMCopyLabels DMGetType DMSetCoordinateDM
DMCreateAggregates DMGetVecType DMSetCoordinateDim
DMCreateDefaultSF DMHasLabel DMSetCoordinateSection
DMCreateDomainDecomposition DMLoad DMSetCoordinates
DMCreateFieldDecomposition DMLocalToLocalBegin DMSetCoordinatesLocal
DMCreateFieldIS DMLocalToLocalEnd DMSetDefaultGlobalSection
DMCreateLabel DMMOAB DMSetDefaultSF
DMCreateSubDM DMMoabCreateMoab DMSetDefaultSection
DMCreateSuperDM 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
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