petsc-master 2019-09-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 DMGetDimension DMRestoreGlobalVector
DMAdaptationCriterion DMGetGlobalVector DMRestoreLocalVector
DMAdaptationStrategy DMGetLabelIdIS DMSetDimension
DMBoundaryConditionType DMGetLabelSize DMSetLabelValue
DMBoundaryType DMGetLabelValue DMSetStratumIS
DMClearLabelStratum DMGetLocalVector DMSetUseNatural
DMClearLabelValue DMGetNeighbors DMType
DMClone DMGetStratumIS DMView
DMCompositeGetNumberDM DMGetStratumSize PetscDSType
DMCreate DMGetUseNatural PetscPartitionerType
DMCreateGlobalVector DMGlobalToLocal PetscQuadrature
DMCreateLocalVector DMLocalToGlobal PetscUnit
DMCreateMatrix DMPointLocationType
Intermediate - Setting options for algorithms and data structures
DM DMGetCoordinatesLocal DMPATCH
DMAdaptLabel DMGetDS DMREDUNDANT
DMAddField DMGetDimPoints DMSLICED
DMCOMPOSITE DMGetField DMSetApplicationContext
DMClearDS DMGetFineDM DMSetApplicationContextDestroy
DMClearFields DMGetGlobalSection DMSetCoarseDM
DMCompositeGetLocalISs DMGetISColoringType DMSetCoordinateDM
DMConvert DMGetLabel DMSetCoordinateDim
DMCopyLabels DMGetLabelByNum DMSetCoordinateSection
DMCreateDS DMGetLabelName DMSetCoordinates
DMCreateDomainDecomposition DMGetLocalSection DMSetCoordinatesLocal
DMCreateFieldDecomposition DMGetLocalToGlobalMapping DMSetField
DMCreateFieldIS DMGetMatType DMSetFineDM
DMCreateLabel DMGetNumBoundary DMSetGlobalSection
DMCreateSectionSubDM DMGetNumDS DMSetISColoringType
DMCreateSectionSuperDM DMGetNumFields DMSetLocalSection
DMCreateSubDM DMGetNumLabels DMSetMatType
DMCreateSuperDM DMGetOutputDM DMSetNumFields
DMField DMGetOutputSequenceNumber DMSetOutputSequenceNumber
DMFieldEvaluate DMGetPointSF DMSetPointSF
DMFieldEvaluateFE DMGetSectionSF DMSetSectionSF
DMFieldEvaluateFV DMGetType DMSetType
DMFieldGetDM DMGetVecType DMSetVariableBounds
DMFieldGetDegree DMGlobalToLocalBegin DMSetVecType
DMFieldGetNumComponents DMGlobalToLocalEnd MatGetDM
DMFieldType DMHasLabel MatSetDM
DMGetApplicationContext DMInterpolationInfo PetscDS
DMGetBlockSize DMLoad PetscGaussLobattoLegendreCreateType
DMGetCoarseDM DMLocalToGlobalBegin PetscPartitioner
DMGetCoordinateDM DMLocalToGlobalEnd VecGetDM
DMGetCoordinateDim DMLocalToLocalBegin VecSetDM
DMGetCoordinateSection DMLocalToLocalEnd
DMGetCoordinates DMOutputSequenceLoad
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 DMRestoreNamedGlobalVector
DMClearLocalVectors DMGetCoordinatesLocalizedLocal DMRestoreNamedLocalVector
DMCoarsen DMGetLabelOutput DMRestoreWorkArray
DMCoarsenHierarchy DMGetNamedGlobalVector DMRestrict
DMComputeL2Diff DMGetNamedLocalVector DMSetAdjacency
DMComputeL2FieldDiff DMGetPeriodicity DMSetBasicAdjacency
DMComputeL2GradientDiff DMGetRefineLevel DMSetCoarsenLevel
DMCreateColoring DMGetWorkArray DMSetFromOptions
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