petsc-main 2021-04-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 DMGetLabelIdIS DMSetUseNatural
DMAdaptationCriterion DMGetLabelSize DMType
DMAdaptationStrategy DMGetLabelValue DMView
DMBoundaryConditionType DMGetLocalBoundingBox PetscDSType
DMBoundaryType DMGetLocalVector PetscDTBinomial
DMClearLabelStratum DMGetNeighbors PetscDTBinomialInt
DMClearLabelValue DMGetStratumIS PetscDTEnumPerm
DMClone DMGetStratumSize PetscDTEnumSubset
DMCompositeGetNumberDM DMGetUseNatural PetscDTFactorial
DMCreate DMGlobalToLocal PetscDTFactorialInt
DMCreateGlobalVector DMLocalToGlobal PetscDTPermIndex
DMCreateLocalVector DMPointLocationType PetscDTSubsetIndex
DMCreateMatrix DMPolytopeType PetscPartitionerCreate
DMDirection DMRestoreGlobalVector PetscPartitionerType
DMEnclosureType DMRestoreLocalVector PetscQuadrature
DMGetBoundingBox DMSetDimension PetscUnit
DMGetDimension DMSetLabelValue
DMGetGlobalVector DMSetStratumIS
Intermediate - Setting options for algorithms and data structures
DM DMGetLabel DMSetCoordinates
DMAdaptLabel DMGetLabelByNum DMSetCoordinatesLocal
DMAddField DMGetLabelName DMSetField
DMCOMPOSITE DMGetLocalSection DMSetFieldAvoidTensor
DMClearDS DMGetLocalToGlobalMapping DMSetFineDM
DMClearFields DMGetMatType DMSetFromOptions
DMCompositeGetLocalISs DMGetNumDS DMSetGlobalSection
DMConvert DMGetNumFields DMSetISColoringType
DMCopyLabels DMGetNumLabels DMSetLocalSection
DMCreateDS DMGetOutputDM DMSetMatType
DMCreateDomainDecomposition DMGetOutputSequenceNumber DMSetNullSpaceConstructor
DMCreateFieldDecomposition DMGetPointSF DMSetNumFields
DMCreateLabel DMGetSectionSF DMSetOutputSequenceNumber
DMCreateLabelAtIndex DMGetType DMSetPointSF
DMCreateSectionSubDM DMGetVecType DMSetSectionSF
DMCreateSectionSuperDM DMGlobalToLocalBegin DMSetType
DMCreateSubDM DMGlobalToLocalEnd DMSetVariableBounds
DMCreateSuperDM DMHasLabel DMSetVecType
DMField DMInterpolationInfo DMViewFromOptions
DMFieldEvaluate DMLoad MatGetDM
DMFieldEvaluateFE DMLocalToGlobalBegin MatSetDM
DMFieldEvaluateFV DMLocalToGlobalEnd PETSCPARTITIONERCHACO
DMFieldGetDM DMLocalToLocalBegin PETSCPARTITIONERGATHER
DMFieldGetDegree DMLocalToLocalEnd PETSCPARTITIONERPARMETIS
DMFieldGetNumComponents DMMonitorCancel PETSCPARTITIONERPTSCOTCH
DMFieldType DMMonitorSet PETSCPARTITIONERSHELL
DMGetApplicationContext DMOutputSequenceLoad PETSCPARTITIONERSIMPLE
DMGetBlockSize DMPATCH PetscDS
DMGetCoarseDM DMPlexInterpolatedFlag PetscDTNodeType
DMGetCoordinateDM DMProjectBdFieldLabelLocal PetscGaussLobattoLegendreCreateType
DMGetCoordinateDim DMProjectCoordinates PetscPartitioner
DMGetCoordinateSection DMProjectFieldLabelLocal PetscPartitionerGetType
DMGetCoordinates DMProjectFieldLocal PetscPartitionerSetType
DMGetCoordinatesLocal DMREDUNDANT PetscPartitionerShellGetRandom
DMGetDS DMSLICED PetscPartitionerShellSetRandom
DMGetDimPoints DMSetApplicationContext PetscPartitionerViewFromOptions
DMGetField DMSetApplicationContextDestroy PetscWeakForm
DMGetFieldAvoidTensor DMSetCoarseDM VecGetDM
DMGetFineDM DMSetCoordinateDM VecSetDM
DMGetGlobalSection DMSetCoordinateDim
DMGetISColoringType DMSetCoordinateSection
Advanced - Setting more advanced options and customization
DMAdaptMetric DMGetCoordinatesLocalSetUp DMShellSetCoarsen
DMAppendOptionsPrefix DMGetCoordinatesLocalTuple DMShellSetContext
DMCoarsenHookAdd DMGetDefaultConstraints DMShellSetCreateDomainDecomposition
DMCoarsenHookRemove DMGetNumAuxiliaryVec DMShellSetCreateDomainDecompositionScatters
DMCompositeAddDM DMGetOptionsPrefix DMShellSetCreateFieldDecomposition
DMCompositeCreate DMGetRegionDS DMShellSetCreateGlobalVector
DMCompositeGather DMGetRegionNumDS DMShellSetCreateInjection
DMCompositeGatherArray DMGetSection DMShellSetCreateInterpolation
DMCompositeGetAccess DMGlobalToLocalBeginDefaultShell DMShellSetCreateLocalVector
DMCompositeGetAccessArray DMGlobalToLocalEndDefaultShell DMShellSetCreateMatrix
DMCompositeGetEntries DMGlobalToLocalHookAdd DMShellSetCreateRestriction
DMCompositeGetEntriesArray DMLocalToGlobalBeginDefaultShell DMShellSetCreateSubDM
DMCompositeGetGlobalISs DMLocalToGlobalEndDefaultShell DMShellSetGlobalToLocal
DMCompositeGetISLocalToGlobalMappings DMLocalToGlobalHookAdd DMShellSetGlobalToLocalVecScatter
DMCompositeGetLocalAccessArray DMLocalToLocalBeginDefaultShell DMShellSetGlobalVector
DMCompositeGetLocalVectors DMLocalToLocalEndDefaultShell DMShellSetLocalToGlobal
DMCompositeRestoreAccess DMRedundantCreate DMShellSetLocalToGlobalVecScatter
DMCompositeRestoreAccessArray DMRedundantGetSize DMShellSetLocalToLocal
DMCompositeRestoreLocalAccessArray DMRedundantSetSize DMShellSetLocalToLocalVecScatter
DMCompositeRestoreLocalVectors DMRefineHookAdd DMShellSetLocalVector
DMCompositeScatter DMRefineHookRemove DMShellSetMatrix
DMCompositeScatterArray DMRegister DMShellSetRefine
DMCompositeSetCoupling DMRegisterAll DMSlicedCreate
DMComputeVariableBounds DMSetAuxiliaryVec DMSlicedSetBlockFills
DMCopyAuxiliaryVec DMSetDefaultConstraints DMSlicedSetGhosts
DMCopyDS DMSetOptionsPrefix DMSlicedSetPreallocation
DMCopyDisc DMSetRefineLevel DMSubDomainHookAdd
DMCopyFields DMSetRegionDS DMSubDomainHookRemove
DMFieldDestroy DMSetRegionNumDS MatFDColoringUseDM
DMFieldGetType DMSetSection PetscDSRegisterAll
DMFieldRegister DMShellCreate PetscDualSpaceRegisterAll
DMFieldRegisterAll DMShellGetCoarsen PetscFERegisterAll
DMFieldSetType DMShellGetContext PetscFVRegisterAll
DMFieldView DMShellGetCreateInjection PetscLimiterRegisterAll
DMFindRegionNum DMShellGetCreateInterpolation PetscPartitionerRegister
DMGetAuxiliaryLabels DMShellGetCreateRestriction PetscPartitionerRegisterAll
DMGetAuxiliaryVec DMShellGetCreateSubDM PetscSpaceRegisterAll
DMGetCompatibility DMShellGetGlobalVector
DMGetCoordinatesLocalNoncollective DMShellGetRefine
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMGetLabelOutput DMRestoreNamedLocalVector
DMAddLabel DMGetNamedGlobalVector DMRestoreWorkArray
DMClearGlobalVectors DMGetNamedLocalVector DMRestrict
DMClearLocalVectors DMGetPeriodicity DMSetAdjacency
DMCoarsen DMGetRefineLevel DMSetBasicAdjacency
DMCoarsenHierarchy DMGetWorkArray DMSetCoarsenLevel
DMComputeError DMHasBasisTransform DMSetLabelOutput
DMComputeExactSolution DMHasColoring DMSetMatrixPreallocateOnly
DMComputeL2Diff DMHasCreateInjection DMSetMatrixStructureOnly
DMComputeL2FieldDiff DMHasCreateRestriction DMSetPeriodicity
DMComputeL2GradientDiff DMHasNamedGlobalVector DMSetUp
DMCreateColoring DMHasNamedLocalVector DMSubDomainRestrict
DMCreateDomainDecompositionScatters DMHasVariableBounds DMUniversalLabel
DMCreateInjection DMInitializePackage PETSCPARTITIONERMATPARTITIONING
DMCreateInterpolation DMInterpolate PetscDSFinalizePackage
DMCreateInterpolationScale DMInterpolateSolution PetscDSInitializePackage
DMCreateMassMatrix DMLabel PetscFEFinalizePackage
DMCreateRestriction DMLocalizeCoordinate PetscFEInitializePackage
DMCreateSectionSF DMLocalizeCoordinates PetscFVFinalizePackage
DMDestroy DMLocatePoints PetscFVInitializePackage
DMFieldCreateDefaultQuadrature DMMonitor PetscPartitionerDestroy
DMFieldCreateFEGeom DMMonitorSetFromOptions PetscPartitionerFinalizePackage
DMFieldFinalizePackage DMProjectFunction PetscPartitionerInitializePackage
DMFieldInitializePackage DMProjectFunctionLabel PetscPartitionerMatPartitioningGetMatPartitioning
DMFinalizePackage DMProjectFunctionLabelLocal PetscPartitionerPartition
DMGetAdjacency DMProjectFunctionLocal PetscPartitionerReset
DMGetBasicAdjacency DMRefine PetscPartitionerSetFromOptions
DMGetCellDS DMRefineHierarchy PetscPartitionerSetUp
DMGetCoarsenLevel DMRemoveLabel PetscPartitionerShellSetPartition
DMGetCoordinatesLocalized DMRemoveLabelBySelf PetscPartitionerView
DMGetCoordinatesLocalizedLocal DMRestoreNamedGlobalVector
No deprecated routines

Table of Contents