petsc-master 2020-02-15
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 DMGetDimPoints DMProjectFieldLabelLocal
DMAdaptLabel DMGetField DMProjectFieldLocal
DMAddField DMGetFineDM DMREDUNDANT
DMCOMPOSITE DMGetGlobalSection DMSLICED
DMClearDS DMGetISColoringType DMSetApplicationContext
DMClearFields DMGetLabel DMSetApplicationContextDestroy
DMCompositeGetLocalISs DMGetLabelByNum DMSetCoarseDM
DMConvert DMGetLabelName DMSetCoordinateDM
DMCopyLabels DMGetLocalSection DMSetCoordinateDim
DMCreateDS DMGetLocalToGlobalMapping DMSetCoordinateSection
DMCreateDomainDecomposition DMGetMatType DMSetCoordinates
DMCreateFieldDecomposition DMGetNumBoundary DMSetCoordinatesLocal
DMCreateFieldIS DMGetNumDS DMSetField
DMCreateLabel DMGetNumFields DMSetFineDM
DMCreateSectionSubDM DMGetNumLabels DMSetFromOptions
DMCreateSectionSuperDM DMGetOutputDM DMSetGlobalSection
DMCreateSubDM DMGetOutputSequenceNumber DMSetISColoringType
DMCreateSuperDM DMGetPointSF DMSetLocalSection
DMField DMGetSectionSF DMSetMatType
DMFieldEvaluate DMGetType DMSetNumFields
DMFieldEvaluateFE DMGetVecType DMSetOutputSequenceNumber
DMFieldEvaluateFV DMGlobalToLocalBegin DMSetPointSF
DMFieldGetDM DMGlobalToLocalEnd DMSetSectionSF
DMFieldGetDegree DMHasLabel DMSetType
DMFieldGetNumComponents DMInterpolationInfo DMSetVariableBounds
DMFieldType DMLoad DMSetVecType
DMGetApplicationContext DMLocalToGlobalBegin DMViewFromOptions
DMGetBlockSize DMLocalToGlobalEnd MatGetDM
DMGetCoarseDM DMLocalToLocalBegin MatSetDM
DMGetCoordinateDM DMLocalToLocalEnd PetscDS
DMGetCoordinateDim DMMonitorCancel PetscGaussLobattoLegendreCreateType
DMGetCoordinateSection DMMonitorSet PetscPartitioner
DMGetCoordinates DMOutputSequenceLoad VecGetDM
DMGetCoordinatesLocal DMPATCH VecSetDM
DMGetDS DMPlexInterpolatedFlag
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 DMGetCoarsenLevel DMProjectFunctionLocal
DMAddLabel DMGetCoordinatesLocalized DMRefine
DMClearGlobalVectors DMGetCoordinatesLocalizedLocal DMRefineHierarchy
DMClearLocalVectors DMGetLabelOutput DMRemoveLabel
DMCoarsen DMGetNamedGlobalVector DMRemoveLabelBySelf
DMCoarsenHierarchy 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 DMSetVec
DMFieldCreateDefaultQuadrature DMLabel DMSubDomainRestrict
DMFieldCreateFEGeom DMLocalizeCoordinate PetscDSFinalizePackage
DMFieldFinalizePackage DMLocalizeCoordinates PetscDSInitializePackage
DMFieldInitializePackage DMLocatePoints PetscFEFinalizePackage
DMFinalizePackage DMMonitor PetscFEInitializePackage
DMGetAdjacency DMMonitorSetFromOptions PetscFVFinalizePackage
DMGetBasicAdjacency DMProjectFunction PetscFVInitializePackage
DMGetBoundary DMProjectFunctionLabel
DMGetCellDS DMProjectFunctionLabelLocal
No deprecated routines

Table of Contents