petsc-master 2020-07-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 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 DMPolytopeType PetscPartitionerCreate
DMDirection DMRestoreGlobalVector PetscPartitionerType
DMEnclosureType DMRestoreLocalVector PetscQuadrature
DMGetBoundingBox DMSetDimension PetscUnit
DMGetDimension DMSetLabelValue
DMGetGlobalVector DMSetStratumIS
Intermediate - Setting options for algorithms and data structures
DM DMGetISColoringType DMSetCoordinateDM
DMAdaptLabel DMGetLabel DMSetCoordinateDim
DMAddField DMGetLabelByNum DMSetCoordinateSection
DMCOMPOSITE DMGetLabelName DMSetCoordinates
DMClearDS DMGetLocalSection DMSetCoordinatesLocal
DMClearFields DMGetLocalToGlobalMapping DMSetField
DMCompositeGetLocalISs DMGetMatType DMSetFineDM
DMConvert DMGetNumBoundary DMSetFromOptions
DMCopyLabels DMGetNumDS DMSetGlobalSection
DMCreateDS DMGetNumFields DMSetISColoringType
DMCreateDomainDecomposition DMGetNumLabels DMSetLocalSection
DMCreateFieldDecomposition DMGetOutputDM DMSetMatType
DMCreateFieldIS DMGetOutputSequenceNumber DMSetNumFields
DMCreateLabel DMGetPointSF DMSetOutputSequenceNumber
DMCreateSectionSubDM DMGetSectionSF DMSetPointSF
DMCreateSectionSuperDM DMGetType DMSetSectionSF
DMCreateSubDM DMGetVecType DMSetType
DMCreateSuperDM DMGlobalToLocalBegin DMSetVariableBounds
DMField DMGlobalToLocalEnd DMSetVecType
DMFieldEvaluate DMHasLabel DMViewFromOptions
DMFieldEvaluateFE DMInterpolationInfo MatGetDM
DMFieldEvaluateFV DMLoad MatSetDM
DMFieldGetDM DMLocalToGlobalBegin PETSCPARTITIONERCHACO
DMFieldGetDegree DMLocalToGlobalEnd PETSCPARTITIONERGATHER
DMFieldGetNumComponents DMLocalToLocalBegin PETSCPARTITIONERPARMETIS
DMFieldType DMLocalToLocalEnd PETSCPARTITIONERPTSCOTCH
DMGetApplicationContext DMMonitorCancel PETSCPARTITIONERSHELL
DMGetBlockSize DMMonitorSet PETSCPARTITIONERSIMPLE
DMGetCoarseDM DMOutputSequenceLoad PetscDS
DMGetCoordinateDM DMPATCH PetscDTNodeType
DMGetCoordinateDim DMPlexInterpolatedFlag PetscGaussLobattoLegendreCreateType
DMGetCoordinateSection DMProjectBdFieldLabelLocal PetscPartitioner
DMGetCoordinates DMProjectFieldLabelLocal PetscPartitionerGetType
DMGetCoordinatesLocal DMProjectFieldLocal PetscPartitionerSetType
DMGetDS DMREDUNDANT PetscPartitionerShellGetRandom
DMGetDimPoints DMSLICED PetscPartitionerShellSetRandom
DMGetField DMSetApplicationContext PetscPartitionerViewFromOptions
DMGetFineDM DMSetApplicationContextDestroy VecGetDM
DMGetGlobalSection DMSetCoarseDM 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 DMSetRegionNumDS DMSubDomainHookRemove
DMCopyFields DMSetSection MatFDColoringUseDM
DMFieldDestroy DMShellCreate PetscDSRegisterAll
DMFieldGetType DMShellGetCoarsen PetscDualSpaceRegisterAll
DMFieldRegister DMShellGetContext PetscFERegisterAll
DMFieldRegisterAll DMShellGetCreateInjection PetscFVRegisterAll
DMFieldSetType DMShellGetCreateInterpolation PetscLimiterRegisterAll
DMFieldView DMShellGetCreateRestriction PetscPartitionerRegister
DMFindRegionNum DMShellGetCreateSubDM PetscPartitionerRegisterAll
DMGetCompatibility DMShellGetRefine PetscSpaceRegisterAll
DMGetCoordinatesLocalNoncollective DMShellSetCoarsen
DMGetCoordinatesLocalSetUp DMShellSetContext
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMGetCoordinatesLocalizedLocal DMRestoreNamedGlobalVector
DMAddLabel DMGetLabelOutput DMRestoreNamedLocalVector
DMClearGlobalVectors DMGetNamedGlobalVector DMRestoreWorkArray
DMClearLocalVectors DMGetNamedLocalVector DMRestrict
DMCoarsen DMGetPeriodicity DMSetAdjacency
DMCoarsenHierarchy DMGetRefineLevel DMSetBasicAdjacency
DMComputeExactSolution DMGetWorkArray DMSetCoarsenLevel
DMComputeL2Diff DMHasBasisTransform DMSetLabelOutput
DMComputeL2FieldDiff DMHasColoring DMSetMatrixPreallocateOnly
DMComputeL2GradientDiff DMHasCreateInjection DMSetMatrixStructureOnly
DMCreateColoring DMHasCreateRestriction DMSetPeriodicity
DMCreateDomainDecompositionScatters DMHasNamedGlobalVector DMSetUp
DMCreateInjection DMHasNamedLocalVector DMSubDomainRestrict
DMCreateInterpolation DMHasVariableBounds PETSCPARTITIONERMATPARTITIONING
DMCreateInterpolationScale DMInitializePackage PetscDSFinalizePackage
DMCreateMassMatrix DMInterpolate PetscDSInitializePackage
DMCreateRestriction DMLabel PetscFEFinalizePackage
DMCreateSectionSF DMLocalizeCoordinate PetscFEInitializePackage
DMDestroy DMLocalizeCoordinates PetscFVFinalizePackage
DMFieldCreateDefaultQuadrature DMLocatePoints PetscFVInitializePackage
DMFieldCreateFEGeom DMMonitor PetscPartitionerDestroy
DMFieldFinalizePackage DMMonitorSetFromOptions PetscPartitionerFinalizePackage
DMFieldInitializePackage DMProjectFunction PetscPartitionerInitializePackage
DMFinalizePackage DMProjectFunctionLabel PetscPartitionerMatPartitioningGetMatPartitioning
DMGetAdjacency DMProjectFunctionLabelLocal PetscPartitionerPartition
DMGetBasicAdjacency DMProjectFunctionLocal PetscPartitionerReset
DMGetBoundary DMRefine PetscPartitionerSetFromOptions
DMGetCellDS DMRefineHierarchy PetscPartitionerSetUp
DMGetCoarsenLevel DMRemoveLabel PetscPartitionerShellSetPartition
DMGetCoordinatesLocalized DMRemoveLabelBySelf PetscPartitionerView
No deprecated routines

Table of Contents