petsc-master 2019-10-20
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 DMGetDimension DMRestoreGlobalVector
DMAdaptationCriterion DMGetGlobalVector DMRestoreLocalVector
DMAdaptationStrategy DMGetLabelIdIS DMSetDimension
DMBoundaryConditionType DMGetLabelSize DMSetLabelValue
DMBoundaryType DMGetLabelValue DMSetStratumIS
DMClearLabelStratum DMGetLocalBoundingBox DMSetUseNatural
DMClearLabelValue DMGetLocalVector DMType
DMClone DMGetNeighbors DMView
DMCompositeGetNumberDM DMGetStratumIS PetscDSType
DMCreate DMGetStratumSize PetscPartitionerType
DMCreateGlobalVector DMGetUseNatural PetscQuadrature
DMCreateLocalVector DMGlobalToLocal PetscUnit
DMCreateMatrix DMLocalToGlobal
DMGetBoundingBox DMPointLocationType
Intermediate - Setting options for algorithms and data structures
DM DMGetCoordinatesLocal DMPATCH
DMAdaptLabel DMGetDS DMREDUNDANT
DMAddField DMGetDimPoints DMSLICED
DMCOMPOSITE DMGetField DMSetApplicationContext
DMClearDS DMGetFineDM DMSetApplicationContextDestroy
DMClearFields DMGetGlobalSection DMSetCoarseDM
DMCompositeGetLocalISs DMGetISColoringType DMSetCoordinateDM
DMConvert DMGetLabel DMSetCoordinateDim
DMCopyLabels DMGetLabelByNum DMSetCoordinateSection
DMCreateDS DMGetLabelName DMSetCoordinates
DMCreateDomainDecomposition DMGetLocalSection DMSetCoordinatesLocal
DMCreateFieldDecomposition DMGetLocalToGlobalMapping DMSetField
DMCreateFieldIS DMGetMatType DMSetFineDM
DMCreateLabel DMGetNumBoundary DMSetGlobalSection
DMCreateSectionSubDM DMGetNumDS DMSetISColoringType
DMCreateSectionSuperDM DMGetNumFields DMSetLocalSection
DMCreateSubDM DMGetNumLabels DMSetMatType
DMCreateSuperDM DMGetOutputDM DMSetNumFields
DMField DMGetOutputSequenceNumber DMSetOutputSequenceNumber
DMFieldEvaluate DMGetPointSF DMSetPointSF
DMFieldEvaluateFE DMGetSectionSF DMSetSectionSF
DMFieldEvaluateFV DMGetType DMSetType
DMFieldGetDM DMGetVecType DMSetVariableBounds
DMFieldGetDegree DMGlobalToLocalBegin DMSetVecType
DMFieldGetNumComponents DMGlobalToLocalEnd MatGetDM
DMFieldType DMHasLabel MatSetDM
DMGetApplicationContext DMInterpolationInfo PetscDS
DMGetBlockSize DMLoad PetscGaussLobattoLegendreCreateType
DMGetCoarseDM DMLocalToGlobalBegin PetscPartitioner
DMGetCoordinateDM DMLocalToGlobalEnd VecGetDM
DMGetCoordinateDim DMLocalToLocalBegin VecSetDM
DMGetCoordinateSection DMLocalToLocalEnd
DMGetCoordinates DMOutputSequenceLoad
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 DMRefineHierarchy
DMAddLabel DMGetCoarsenLevel DMRemoveLabel
DMClearGlobalVectors DMGetCoordinatesLocalized DMRemoveLabelBySelf
DMClearLocalVectors DMGetCoordinatesLocalizedLocal DMRestoreNamedGlobalVector
DMCoarsen DMGetLabelOutput DMRestoreNamedLocalVector
DMCoarsenHierarchy DMGetNamedGlobalVector DMRestoreWorkArray
DMComputeL2Diff DMGetNamedLocalVector DMRestrict
DMComputeL2FieldDiff DMGetPeriodicity DMSetAdjacency
DMComputeL2GradientDiff DMGetRefineLevel DMSetBasicAdjacency
DMCreateColoring DMGetWorkArray DMSetCoarsenLevel
DMCreateDomainDecompositionScatters DMHasBasisTransform DMSetFromOptions
DMCreateInjection DMHasColoring DMSetLabelOutput
DMCreateInterpolation DMHasCreateInjection DMSetMatrixPreallocateOnly
DMCreateMassMatrix DMHasCreateRestriction DMSetMatrixStructureOnly
DMCreateRestriction DMHasNamedGlobalVector DMSetPeriodicity
DMCreateSectionSF DMHasNamedLocalVector DMSetUp
DMDestroy DMHasVariableBounds DMSetVec
DMFieldCreateDefaultQuadrature DMInitializePackage DMSubDomainRestrict
DMFieldCreateFEGeom DMInterpolate PetscDSFinalizePackage
DMFieldFinalizePackage DMLabel PetscDSInitializePackage
DMFieldInitializePackage DMLocalizeCoordinate PetscFEFinalizePackage
DMFinalizePackage DMLocalizeCoordinates PetscFEInitializePackage
DMGetAdjacency DMLocatePoints PetscFVFinalizePackage
DMGetBasicAdjacency DMProjectFunction PetscFVInitializePackage
DMGetBoundary DMRefine
No deprecated routines

Table of Contents