petsc-master 2019-12-10
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 DMGetBoundingBox DMPointLocationType
DMAdaptationCriterion DMGetDimension DMRestoreGlobalVector
DMAdaptationStrategy DMGetGlobalVector DMRestoreLocalVector
DMBoundaryConditionType DMGetLabelIdIS DMSetDimension
DMBoundaryType DMGetLabelSize DMSetLabelValue
DMClearLabelStratum DMGetLabelValue DMSetStratumIS
DMClearLabelValue DMGetLocalBoundingBox DMSetUseNatural
DMClone DMGetLocalVector DMType
DMCompositeGetNumberDM DMGetNeighbors DMView
DMCreate DMGetStratumIS PetscDSType
DMCreateGlobalVector DMGetStratumSize PetscPartitionerType
DMCreateLocalVector DMGetUseNatural PetscQuadrature
DMCreateMatrix DMGlobalToLocal PetscUnit
DMDirection DMLocalToGlobal
Intermediate - Setting options for algorithms and data structures
DM DMGetDS DMREDUNDANT
DMAdaptLabel DMGetDimPoints DMSLICED
DMAddField DMGetField DMSetApplicationContext
DMCOMPOSITE DMGetFineDM DMSetApplicationContextDestroy
DMClearDS DMGetGlobalSection DMSetCoarseDM
DMClearFields DMGetISColoringType DMSetCoordinateDM
DMCompositeGetLocalISs DMGetLabel DMSetCoordinateDim
DMConvert DMGetLabelByNum DMSetCoordinateSection
DMCopyLabels DMGetLabelName DMSetCoordinates
DMCreateDS DMGetLocalSection DMSetCoordinatesLocal
DMCreateDomainDecomposition DMGetLocalToGlobalMapping DMSetField
DMCreateFieldDecomposition DMGetMatType DMSetFineDM
DMCreateFieldIS DMGetNumBoundary DMSetFromOptions
DMCreateLabel DMGetNumDS DMSetGlobalSection
DMCreateSectionSubDM DMGetNumFields DMSetISColoringType
DMCreateSectionSuperDM DMGetNumLabels DMSetLocalSection
DMCreateSubDM DMGetOutputDM DMSetMatType
DMCreateSuperDM DMGetOutputSequenceNumber DMSetNumFields
DMField DMGetPointSF DMSetOutputSequenceNumber
DMFieldEvaluate DMGetSectionSF DMSetPointSF
DMFieldEvaluateFE DMGetType DMSetSectionSF
DMFieldEvaluateFV DMGetVecType DMSetType
DMFieldGetDM DMGlobalToLocalBegin DMSetVariableBounds
DMFieldGetDegree DMGlobalToLocalEnd DMSetVecType
DMFieldGetNumComponents DMHasLabel DMViewFromOptions
DMFieldType DMInterpolationInfo MatGetDM
DMGetApplicationContext DMLoad MatSetDM
DMGetBlockSize DMLocalToGlobalBegin PetscDS
DMGetCoarseDM DMLocalToGlobalEnd PetscGaussLobattoLegendreCreateType
DMGetCoordinateDM DMLocalToLocalBegin PetscPartitioner
DMGetCoordinateDim DMLocalToLocalEnd VecGetDM
DMGetCoordinateSection DMOutputSequenceLoad VecSetDM
DMGetCoordinates DMPATCH
DMGetCoordinatesLocal DMPlexInterpolatedFlag
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 DMSetSection DMSubDomainHookRemove
DMCopyFields DMShellCreate MatFDColoringUseDM
DMFieldDestroy DMShellGetCoarsen PetscDSRegisterAll
DMFieldGetType DMShellGetContext PetscDualSpaceRegisterAll
DMFieldRegister DMShellGetCreateInjection PetscFERegisterAll
DMFieldRegisterAll DMShellGetCreateInterpolation PetscFVRegisterAll
DMFieldSetType DMShellGetCreateRestriction PetscLimiterRegisterAll
DMFieldView DMShellGetCreateSubDM PetscPartitionerRegisterAll
DMGetCompatibility DMShellGetRefine PetscSpaceRegisterAll
DMGetCoordinatesLocalNoncollective DMShellSetCoarsen
DMGetCoordinatesLocalSetUp DMShellSetContext
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMGetCellDS DMRefineHierarchy
DMAddLabel DMGetCoarsenLevel DMRemoveLabel
DMClearGlobalVectors DMGetCoordinatesLocalized DMRemoveLabelBySelf
DMClearLocalVectors DMGetCoordinatesLocalizedLocal DMRestoreNamedGlobalVector
DMCoarsen DMGetLabelOutput DMRestoreNamedLocalVector
DMCoarsenHierarchy DMGetNamedGlobalVector DMRestoreWorkArray
DMComputeL2Diff DMGetNamedLocalVector DMRestrict
DMComputeL2FieldDiff DMGetPeriodicity DMSetAdjacency
DMComputeL2GradientDiff DMGetRefineLevel DMSetBasicAdjacency
DMCreateColoring DMGetWorkArray DMSetCoarsenLevel
DMCreateDomainDecompositionScatters DMHasBasisTransform DMSetLabelOutput
DMCreateInjection DMHasColoring DMSetMatrixPreallocateOnly
DMCreateInterpolation DMHasCreateInjection DMSetMatrixStructureOnly
DMCreateMassMatrix DMHasCreateRestriction DMSetPeriodicity
DMCreateRestriction DMHasNamedGlobalVector DMSetUp
DMCreateSectionSF DMHasNamedLocalVector DMSetVec
DMDestroy DMHasVariableBounds DMSubDomainRestrict
DMFieldCreateDefaultQuadrature DMInitializePackage PetscDSFinalizePackage
DMFieldCreateFEGeom DMInterpolate PetscDSInitializePackage
DMFieldFinalizePackage DMLabel PetscFEFinalizePackage
DMFieldInitializePackage DMLocalizeCoordinate PetscFEInitializePackage
DMFinalizePackage DMLocalizeCoordinates PetscFVFinalizePackage
DMGetAdjacency DMLocatePoints PetscFVInitializePackage
DMGetBasicAdjacency DMProjectFunction
DMGetBoundary DMRefine
No deprecated routines

Table of Contents