petsc-master 2019-12-13
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 DMRestoreGlobalVector PetscPartitionerType
DMDirection DMRestoreLocalVector PetscQuadrature
DMGetBoundingBox DMSetDimension PetscUnit
DMGetDimension DMSetLabelValue
DMGetGlobalVector DMSetStratumIS
Intermediate - Setting options for algorithms and data structures
DM DMGetDS DMPATCH
DMAdaptLabel DMGetDimPoints DMPlexInterpolatedFlag
DMAddField DMGetField DMREDUNDANT
DMCOMPOSITE DMGetFineDM DMSLICED
DMClearDS DMGetGlobalSection DMSetApplicationContext
DMClearFields DMGetISColoringType DMSetApplicationContextDestroy
DMCompositeGetLocalISs DMGetLabel DMSetCoarseDM
DMConvert DMGetLabelByNum DMSetCoordinateDM
DMCopyLabels DMGetLabelName DMSetCoordinateDim
DMCreateDS DMGetLocalSection DMSetCoordinateSection
DMCreateDomainDecomposition DMGetLocalToGlobalMapping DMSetCoordinates
DMCreateFieldDecomposition DMGetMatType DMSetCoordinatesLocal
DMCreateFieldIS DMGetNumBoundary DMSetField
DMCreateLabel DMGetNumDS DMSetFineDM
DMCreateSectionSubDM DMGetNumFields DMSetFromOptions
DMCreateSectionSuperDM DMGetNumLabels DMSetGlobalSection
DMCreateSubDM DMGetOutputDM DMSetISColoringType
DMCreateSuperDM DMGetOutputSequenceNumber DMSetLocalSection
DMField DMGetPointSF DMSetMatType
DMFieldEvaluate DMGetSectionSF DMSetNumFields
DMFieldEvaluateFE DMGetType DMSetOutputSequenceNumber
DMFieldEvaluateFV DMGetVecType DMSetPointSF
DMFieldGetDM DMGlobalToLocalBegin DMSetSectionSF
DMFieldGetDegree DMGlobalToLocalEnd DMSetType
DMFieldGetNumComponents DMHasLabel DMSetVariableBounds
DMFieldType DMInterpolationInfo DMSetVecType
DMGetApplicationContext DMLoad DMViewFromOptions
DMGetBlockSize DMLocalToGlobalBegin MatGetDM
DMGetCoarseDM DMLocalToGlobalEnd MatSetDM
DMGetCoordinateDM DMLocalToLocalBegin PetscDS
DMGetCoordinateDim DMLocalToLocalEnd PetscGaussLobattoLegendreCreateType
DMGetCoordinateSection DMMonitorCancel PetscPartitioner
DMGetCoordinates DMMonitorSet VecGetDM
DMGetCoordinatesLocal DMOutputSequenceLoad VecSetDM
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 DMProjectFunction
DMAddLabel DMGetCoarsenLevel DMRefine
DMClearGlobalVectors DMGetCoordinatesLocalized DMRefineHierarchy
DMClearLocalVectors DMGetCoordinatesLocalizedLocal DMRemoveLabel
DMCoarsen DMGetLabelOutput DMRemoveLabelBySelf
DMCoarsenHierarchy DMGetNamedGlobalVector DMRestoreNamedGlobalVector
DMComputeL2Diff DMGetNamedLocalVector DMRestoreNamedLocalVector
DMComputeL2FieldDiff DMGetPeriodicity DMRestoreWorkArray
DMComputeL2GradientDiff DMGetRefineLevel DMRestrict
DMCreateColoring DMGetWorkArray DMSetAdjacency
DMCreateDomainDecompositionScatters DMHasBasisTransform DMSetBasicAdjacency
DMCreateInjection DMHasColoring DMSetCoarsenLevel
DMCreateInterpolation DMHasCreateInjection DMSetLabelOutput
DMCreateMassMatrix DMHasCreateRestriction DMSetMatrixPreallocateOnly
DMCreateRestriction DMHasNamedGlobalVector DMSetMatrixStructureOnly
DMCreateSectionSF DMHasNamedLocalVector DMSetPeriodicity
DMDestroy DMHasVariableBounds DMSetUp
DMFieldCreateDefaultQuadrature DMInitializePackage DMSetVec
DMFieldCreateFEGeom DMInterpolate DMSubDomainRestrict
DMFieldFinalizePackage DMLabel PetscDSFinalizePackage
DMFieldInitializePackage DMLocalizeCoordinate PetscDSInitializePackage
DMFinalizePackage DMLocalizeCoordinates PetscFEFinalizePackage
DMGetAdjacency DMLocatePoints PetscFEInitializePackage
DMGetBasicAdjacency DMMonitor PetscFVFinalizePackage
DMGetBoundary DMMonitorSetFromOptions PetscFVInitializePackage
No deprecated routines

Table of Contents