petsc-master 2020-11-25
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 DMGetLabel DMSetCoordinateSection
DMAdaptLabel DMGetLabelByNum DMSetCoordinates
DMAddField DMGetLabelName DMSetCoordinatesLocal
DMCOMPOSITE DMGetLocalSection DMSetField
DMClearDS DMGetLocalToGlobalMapping DMSetFieldAvoidTensor
DMClearFields DMGetMatType DMSetFineDM
DMCompositeGetLocalISs DMGetNumBoundary DMSetFromOptions
DMConvert DMGetNumDS DMSetGlobalSection
DMCopyLabels DMGetNumFields DMSetISColoringType
DMCreateDS DMGetNumLabels DMSetLocalSection
DMCreateDomainDecomposition DMGetOutputDM DMSetMatType
DMCreateFieldDecomposition DMGetOutputSequenceNumber DMSetNullSpaceConstructor
DMCreateLabel DMGetPointSF DMSetNumFields
DMCreateLabelAtIndex DMGetSectionSF DMSetOutputSequenceNumber
DMCreateSectionSubDM DMGetType DMSetPointSF
DMCreateSectionSuperDM DMGetVecType DMSetSectionSF
DMCreateSubDM DMGlobalToLocalBegin DMSetType
DMCreateSuperDM DMGlobalToLocalEnd DMSetVariableBounds
DMField DMHasLabel DMSetVecType
DMFieldEvaluate DMInterpolationInfo DMViewFromOptions
DMFieldEvaluateFE DMLoad MatGetDM
DMFieldEvaluateFV DMLocalToGlobalBegin MatSetDM
DMFieldGetDM DMLocalToGlobalEnd PETSCPARTITIONERCHACO
DMFieldGetDegree DMLocalToLocalBegin PETSCPARTITIONERGATHER
DMFieldGetNumComponents DMLocalToLocalEnd PETSCPARTITIONERPARMETIS
DMFieldType DMMonitorCancel PETSCPARTITIONERPTSCOTCH
DMGetApplicationContext DMMonitorSet PETSCPARTITIONERSHELL
DMGetBlockSize DMOutputSequenceLoad PETSCPARTITIONERSIMPLE
DMGetCoarseDM DMPATCH PetscDS
DMGetCoordinateDM DMPlexInterpolatedFlag PetscDTNodeType
DMGetCoordinateDim DMProjectBdFieldLabelLocal PetscGaussLobattoLegendreCreateType
DMGetCoordinateSection DMProjectCoordinates PetscPartitioner
DMGetCoordinates DMProjectFieldLabelLocal PetscPartitionerGetType
DMGetCoordinatesLocal DMProjectFieldLocal PetscPartitionerSetType
DMGetDS DMREDUNDANT PetscPartitionerShellGetRandom
DMGetDimPoints DMSLICED PetscPartitionerShellSetRandom
DMGetField DMSetApplicationContext PetscPartitionerViewFromOptions
DMGetFieldAvoidTensor DMSetApplicationContextDestroy VecGetDM
DMGetFineDM DMSetCoarseDM VecSetDM
DMGetGlobalSection DMSetCoordinateDM
DMGetISColoringType DMSetCoordinateDim
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 DMGetLabelOutput DMRestoreWorkArray
DMAddLabel DMGetNamedGlobalVector DMRestrict
DMClearGlobalVectors DMGetNamedLocalVector DMSetAdjacency
DMClearLocalVectors DMGetPeriodicity DMSetBasicAdjacency
DMCoarsen DMGetRefineLevel DMSetCoarsenLevel
DMCoarsenHierarchy DMGetWorkArray DMSetLabelOutput
DMComputeExactSolution DMHasBasisTransform DMSetMatrixPreallocateOnly
DMComputeL2Diff DMHasColoring DMSetMatrixStructureOnly
DMComputeL2FieldDiff DMHasCreateInjection DMSetPeriodicity
DMComputeL2GradientDiff DMHasCreateRestriction DMSetUp
DMCreateColoring DMHasNamedGlobalVector DMSubDomainRestrict
DMCreateDomainDecompositionScatters DMHasNamedLocalVector DMUniversalLabel
DMCreateInjection DMHasVariableBounds PETSCPARTITIONERMATPARTITIONING
DMCreateInterpolation DMInitializePackage PetscDSFinalizePackage
DMCreateInterpolationScale DMInterpolate PetscDSInitializePackage
DMCreateMassMatrix DMLabel PetscFEFinalizePackage
DMCreateRestriction DMLocalizeCoordinate PetscFEInitializePackage
DMCreateSectionSF DMLocalizeCoordinates PetscFVFinalizePackage
DMDestroy DMLocatePoints PetscFVInitializePackage
DMFieldCreateDefaultQuadrature DMMonitor PetscPartitionerDestroy
DMFieldCreateFEGeom DMMonitorSetFromOptions PetscPartitionerFinalizePackage
DMFieldFinalizePackage DMProjectFunction PetscPartitionerInitializePackage
DMFieldInitializePackage DMProjectFunctionLabel PetscPartitionerMatPartitioningGetMatPartitioning
DMFinalizePackage DMProjectFunctionLabelLocal PetscPartitionerPartition
DMGetAdjacency DMProjectFunctionLocal PetscPartitionerReset
DMGetBasicAdjacency DMRefine PetscPartitionerSetFromOptions
DMGetBoundary DMRefineHierarchy PetscPartitionerSetUp
DMGetCellDS DMRemoveLabel PetscPartitionerShellSetPartition
DMGetCoarsenLevel DMRemoveLabelBySelf PetscPartitionerView
DMGetCoordinatesLocalized DMRestoreNamedGlobalVector
DMGetCoordinatesLocalizedLocal DMRestoreNamedLocalVector
No deprecated routines

Table of Contents