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

Table of Contents