petsc-master 2020-04-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 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 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