petsc-master 2020-07-04
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 DMGetCoordinatesLocalSetUp DMShellSetCoarsen
DMAppendOptionsPrefix DMGetCoordinatesLocalTuple DMShellSetContext
DMCoarsenHookAdd DMGetDefaultConstraints DMShellSetCreateDomainDecomposition
DMCoarsenHookRemove DMGetOptionsPrefix DMShellSetCreateDomainDecompositionScatters
DMCompositeAddDM DMGetRegionDS DMShellSetCreateFieldDecomposition
DMCompositeCreate DMGetRegionNumDS DMShellSetCreateGlobalVector
DMCompositeGather DMGetSection DMShellSetCreateInjection
DMCompositeGatherArray DMGlobalToLocalBeginDefaultShell DMShellSetCreateInterpolation
DMCompositeGetAccess DMGlobalToLocalEndDefaultShell DMShellSetCreateLocalVector
DMCompositeGetAccessArray DMGlobalToLocalHookAdd DMShellSetCreateMatrix
DMCompositeGetEntries DMLocalToGlobalBeginDefaultShell DMShellSetCreateRestriction
DMCompositeGetEntriesArray DMLocalToGlobalEndDefaultShell DMShellSetCreateSubDM
DMCompositeGetGlobalISs DMLocalToGlobalHookAdd DMShellSetGlobalToLocal
DMCompositeGetISLocalToGlobalMappings DMLocalToLocalBeginDefaultShell DMShellSetGlobalToLocalVecScatter
DMCompositeGetLocalAccessArray DMLocalToLocalEndDefaultShell DMShellSetGlobalVector
DMCompositeGetLocalVectors DMRedundantCreate DMShellSetLocalToGlobal
DMCompositeRestoreAccess DMRedundantGetSize DMShellSetLocalToGlobalVecScatter
DMCompositeRestoreAccessArray DMRedundantSetSize DMShellSetLocalToLocal
DMCompositeRestoreLocalAccessArray DMRefineHookAdd DMShellSetLocalToLocalVecScatter
DMCompositeRestoreLocalVectors DMRefineHookRemove DMShellSetLocalVector
DMCompositeScatter DMRegister DMShellSetMatrix
DMCompositeScatterArray DMRegisterAll DMShellSetRefine
DMCompositeSetCoupling DMSetDefaultConstraints DMSlicedCreate
DMComputeVariableBounds DMSetOptionsPrefix DMSlicedSetBlockFills
DMCopyDS DMSetRefineLevel DMSlicedSetGhosts
DMCopyDisc DMSetRegionDS DMSlicedSetPreallocation
DMCopyFields DMSetRegionNumDS DMSubDomainHookAdd
DMFieldDestroy DMSetSection DMSubDomainHookRemove
DMFieldGetType DMShellCreate MatFDColoringUseDM
DMFieldRegister DMShellGetCoarsen PetscDSRegisterAll
DMFieldRegisterAll DMShellGetContext PetscDualSpaceRegisterAll
DMFieldSetType DMShellGetCreateInjection PetscFERegisterAll
DMFieldView DMShellGetCreateInterpolation PetscFVRegisterAll
DMFindRegionNum DMShellGetCreateRestriction PetscLimiterRegisterAll
DMGetCompatibility DMShellGetCreateSubDM PetscPartitionerRegisterAll
DMGetCoordinatesLocalNoncollective DMShellGetRefine PetscSpaceRegisterAll
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMGetCellDS DMProjectFunctionLabelLocal
DMAddLabel DMGetCoarsenLevel DMProjectFunctionLocal
DMClearGlobalVectors DMGetCoordinatesLocalized DMRefine
DMClearLocalVectors DMGetCoordinatesLocalizedLocal DMRefineHierarchy
DMCoarsen DMGetLabelOutput DMRemoveLabel
DMCoarsenHierarchy DMGetNamedGlobalVector DMRemoveLabelBySelf
DMComputeExactSolution DMGetNamedLocalVector DMRestoreNamedGlobalVector
DMComputeL2Diff DMGetPeriodicity DMRestoreNamedLocalVector
DMComputeL2FieldDiff DMGetRefineLevel DMRestoreWorkArray
DMComputeL2GradientDiff DMGetWorkArray DMRestrict
DMCreateColoring DMHasBasisTransform DMSetAdjacency
DMCreateDomainDecompositionScatters DMHasColoring DMSetBasicAdjacency
DMCreateInjection DMHasCreateInjection DMSetCoarsenLevel
DMCreateInterpolation DMHasCreateRestriction DMSetLabelOutput
DMCreateInterpolationScale DMHasNamedGlobalVector DMSetMatrixPreallocateOnly
DMCreateMassMatrix DMHasNamedLocalVector DMSetMatrixStructureOnly
DMCreateRestriction DMHasVariableBounds DMSetPeriodicity
DMCreateSectionSF DMInitializePackage DMSetUp
DMDestroy DMInterpolate DMSubDomainRestrict
DMFieldCreateDefaultQuadrature DMLabel PetscDSFinalizePackage
DMFieldCreateFEGeom DMLocalizeCoordinate PetscDSInitializePackage
DMFieldFinalizePackage DMLocalizeCoordinates PetscFEFinalizePackage
DMFieldInitializePackage DMLocatePoints PetscFEInitializePackage
DMFinalizePackage DMMonitor PetscFVFinalizePackage
DMGetAdjacency DMMonitorSetFromOptions PetscFVInitializePackage
DMGetBasicAdjacency DMProjectFunction
DMGetBoundary DMProjectFunctionLabel
No deprecated routines

Table of Contents