petsc-master 2018-04-19
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 DMGetLabel DMPATCH
DMAdaptLabel DMGetLabelByNum DMREDUNDANT
DMCOMPOSITE DMGetLabelName DMSLICED
DMCompositeGetLocalISs DMGetLocalToGlobalMapping DMSetApplicationContext
DMConvert DMGetMatType DMSetApplicationContextDestroy
DMCopyLabels DMGetNumBoundary DMSetCoarseDM
DMCreateAggregates DMGetNumLabels DMSetCoordinateDM
DMCreateDefaultSF DMGetOutputDM DMSetCoordinateDim
DMCreateDomainDecomposition DMGetOutputSequenceNumber DMSetCoordinateSection
DMCreateFieldDecomposition DMGetPointSF DMSetCoordinates
DMCreateFieldIS DMGetType DMSetCoordinatesLocal
DMCreateLabel DMGetVecType DMSetDefaultGlobalSection
DMCreateSubDM DMHasLabel DMSetDefaultSF
DMCreateSuperDM DMLoad DMSetDefaultSection
DMField DMLocalToLocalBegin DMSetFineDM
DMFieldEvaluate DMLocalToLocalEnd DMSetISColoringType
DMFieldEvaluateFE DMMOAB DMSetMatType
DMFieldEvaluateFV DMMoabCreateMoab DMSetOutputSequenceNumber
DMFieldGetDM DMMoabGetDofs DMSetPointSF
DMFieldGetFEInvariance DMMoabGetDofsBlocked DMSetType
DMFieldGetNumComponents DMMoabGetDofsBlockedLocal DMSetVariableBounds
DMFieldType DMMoabGetDofsLocal DMSetVecType
DMGetApplicationContext DMMoabGetFieldDofs MatGetDM
DMGetBlockSize DMMoabGetFieldDofsLocal MatSetDM
DMGetCoarseDM DMMoabGetFieldName PetscDS
DMGetCoordinateDM DMMoabGetVertexDofsBlocked PetscDualSpace
DMGetCoordinateDim DMMoabGetVertexDofsBlockedLocal PetscFE
DMGetCoordinateSection DMMoabOutput PetscFEJacobianType
DMGetCoordinates DMMoabSetFieldName PetscFV
DMGetCoordinatesLocal DMMoabSetFieldNames PetscLimiter
DMGetDefaultGlobalSection DMMoabSetFieldVector PetscPartitioner
DMGetDefaultSF DMMoabSetGlobalFieldVector PetscSpace
DMGetDefaultSection DMMoabVecGetArray VecGetDM
DMGetDimPoints DMMoabVecGetArrayRead VecSetDM
DMGetFineDM DMMoabVecRestoreArray
DMGetISColoringType DMOutputSequenceLoad
Advanced - Setting more advanced options and customization
Compute_Lagrange_Basis_1D_Internal DMFieldView DMShellSetCreateFieldDecomposition
Compute_Lagrange_Basis_2D_Internal DMGetDefaultConstraints DMShellSetCreateGlobalVector
Compute_Lagrange_Basis_3D_Internal DMGetOptionsPrefix DMShellSetCreateInjection
DMAdaptMetric DMGlobalToLocalBeginDefaultShell DMShellSetCreateInterpolation
DMAppendOptionsPrefix DMGlobalToLocalEndDefaultShell DMShellSetCreateLocalVector
DMCoarsenHookAdd DMGlobalToLocalHookAdd DMShellSetCreateMatrix
DMCoarsenHookRemove DMLocalToGlobalBeginDefaultShell DMShellSetCreateRestriction
DMCompositeAddDM DMLocalToGlobalEndDefaultShell DMShellSetCreateSubDM
DMCompositeCreate DMLocalToGlobalHookAdd DMShellSetGlobalToLocal
DMCompositeGather DMLocalToLocalBeginDefaultShell DMShellSetGlobalToLocalVecScatter
DMCompositeGatherArray DMLocalToLocalEndDefaultShell DMShellSetGlobalVector
DMCompositeGetAccess DMMoabCreateSubmesh DMShellSetLocalToGlobal
DMCompositeGetAccessArray DMMoabFEMComputeBasis DMShellSetLocalToGlobalVecScatter
DMCompositeGetEntries DMMoabFEMCreateQuadratureDefault DMShellSetLocalToLocal
DMCompositeGetEntriesArray DMMoabPToRMapping DMShellSetLocalToLocalVecScatter
DMCompositeGetGlobalISs DMMoabRenumberMeshEntities DMShellSetLocalVector
DMCompositeGetISLocalToGlobalMappings DMRedundantCreate DMShellSetMatrix
DMCompositeGetLocalAccessArray DMRedundantGetSize DMShellSetRefine
DMCompositeGetLocalVectors DMRedundantSetSize DMSlicedCreate
DMCompositeRestoreAccess DMRefineHookAdd DMSlicedSetBlockFills
DMCompositeRestoreAccessArray DMRefineHookRemove DMSlicedSetGhosts
DMCompositeRestoreLocalAccessArray DMRegister DMSlicedSetPreallocation
DMCompositeRestoreLocalVectors DMRegisterAll DMSubDomainHookAdd
DMCompositeScatter DMSetDefaultConstraints DMSubDomainHookRemove
DMCompositeScatterArray DMSetOptionsPrefix MatFDColoringUseDM
DMCompositeSetCoupling DMSetRefineLevel PetscDSRegisterAll
DMComputeVariableBounds DMShellCreate PetscDualSpaceRegisterAll
DMFieldDestroy DMShellGetContext PetscFERegisterAll
DMFieldGetType DMShellSetCoarsen PetscFVRegisterAll
DMFieldRegister DMShellSetContext PetscLimiterRegisterAll
DMFieldRegisterAll DMShellSetCreateDomainDecomposition PetscPartitionerRegisterAll
DMFieldSetType DMShellSetCreateDomainDecompositionScatters PetscSpaceRegisterAll
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMGetCoordinatesLocalized DMRefine_Moab
DMAddLabel DMGetDS DMRemoveLabel
DMClearGlobalVectors DMGetField DMRestoreNamedGlobalVector
DMClearLocalVectors DMGetLabelOutput DMRestoreNamedLocalVector
DMCoarsen DMGetNamedGlobalVector DMRestoreWorkArray
DMCoarsenHierarchy DMGetNamedLocalVector DMRestrict
DMCoarsen_Moab DMGetPeriodicity DMSetDS
DMComputeL2Diff DMGetRefineLevel DMSetField
DMComputeL2FieldDiff DMGetWorkArray DMSetFromOptions
DMComputeL2GradientDiff DMHasColoring DMSetLabelOutput
DMCreateColoring DMHasCreateInjection DMSetMatrixPreallocateOnly
DMCreateDomainDecompositionScatters DMHasCreateRestriction DMSetMatrixStructureOnly
DMCreateInjection DMHasNamedGlobalVector DMSetPeriodicity
DMCreateInterpolation DMHasNamedLocalVector DMSetUp
DMCreateInterpolation_Moab DMHasVariableBounds DMSetVec
DMCreateMassMatrix DMInitializePackage DMSubDomainRestrict
DMCreateRestriction DMInterpolate PetscDSFinalizePackage
DMDestroy DMLabel PetscDSInitializePackage
DMFieldCreateDefaultQuadrature DMLocalizeCoordinate PetscFEFinalizePackage
DMFieldCreateFEGeom DMLocalizeCoordinates PetscFEInitializePackage
DMFieldFinalizePackage DMLocatePoints PetscFVFinalizePackage
DMFieldInitializePackage DMMoabSetBlockFills PetscFVInitializePackage
DMFinalizePackage DMProjectFunction PetscQuadrature
DMGetBoundary DMRefine
DMGetCoarsenLevel DMRefineHierarchy
No deprecated routines

Table of Contents