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

Table of Contents