petsc-master 2019-08-22
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 DMGetLocalVector PetscDualSpaceDuplicate
DMAdaptationCriterion DMGetNeighbors PetscDualSpaceType
DMAdaptationStrategy DMGetStratumIS PetscFECreate
DMBoundaryConditionType DMGetStratumSize PetscFECreateDefault
DMBoundaryType DMGetUseNatural PetscFESetName
DMClearLabelStratum DMGlobalToLocal PetscFEType
DMClearLabelValue DMLocalToGlobal PetscFVCellGeom
DMClone DMPointLocationType PetscFVFaceGeom
DMCompositeGetNumberDM DMRestoreGlobalVector PetscFVType
DMCreate DMRestoreLocalVector PetscLimiterType
DMCreateGlobalVector DMSetDimension PetscPartitionerType
DMCreateLocalVector DMSetLabelValue PetscSpaceCreate
DMCreateMatrix DMSetStratumIS PetscSpacePolynomialGetTensor
DMGetDimension DMSetUseNatural PetscSpacePolynomialSetTensor
DMGetGlobalVector DMType PetscSpaceType
DMGetLabelIdIS DMView PetscUnit
DMGetLabelSize PetscDSType
DMGetLabelValue PetscDualSpaceCreate
Intermediate - Setting options for algorithms and data structures
DM DMGetPointSF PetscDualSpaceGetNumDof
DMAdaptLabel DMGetType PetscDualSpaceGetOrder
DMAddField DMGetVecType PetscDualSpaceGetType
DMCOMPOSITE DMGlobalToLocalBegin PetscDualSpaceLagrangeGetContinuity
DMClearDS DMGlobalToLocalEnd PetscDualSpaceLagrangeGetTensor
DMClearFields DMHasLabel PetscDualSpaceLagrangeSetContinuity
DMCompositeGetLocalISs DMInterpolationInfo PetscDualSpaceLagrangeSetTensor
DMConvert DMLoad PetscDualSpaceReferenceCell
DMCopyLabels DMLocalToGlobalBegin PetscDualSpaceSetDM
DMCreateDS DMLocalToGlobalEnd PetscDualSpaceSetNumComponents
DMCreateDefaultSF DMLocalToLocalBegin PetscDualSpaceSetOrder
DMCreateDomainDecomposition DMLocalToLocalEnd PetscDualSpaceSetType
DMCreateFieldDecomposition DMOutputSequenceLoad PetscDualSpaceSimpleSetDimension
DMCreateFieldIS DMPATCH PetscDualSpaceSimpleSetFunctional
DMCreateLabel DMREDUNDANT PetscFE
DMCreateSectionSubDM DMSLICED PetscFECompositeGetMapping
DMCreateSectionSuperDM DMSetApplicationContext PetscFEGetBasisSpace
DMCreateSubDM DMSetApplicationContextDestroy PetscFEGetDefaultTabulation
DMCreateSuperDM DMSetCoarseDM PetscFEGetDimension
DMField DMSetCoordinateDM PetscFEGetDualSpace
DMFieldEvaluate DMSetCoordinateDim PetscFEGetFaceQuadrature
DMFieldEvaluateFE DMSetCoordinateSection PetscFEGetNumComponents
DMFieldEvaluateFV DMSetCoordinates PetscFEGetNumDof
DMFieldGetDM DMSetCoordinatesLocal PetscFEGetQuadrature
DMFieldGetDegree DMSetDefaultSF PetscFEGetSpatialDimension
DMFieldGetNumComponents DMSetField PetscFEGetTabulation
DMFieldType DMSetFineDM PetscFEGetTileSizes
DMGetApplicationContext DMSetGlobalSection PetscFEGetType
DMGetBlockSize DMSetISColoringType PetscFEJacobianType
DMGetCoarseDM DMSetLocalSection PetscFESetBasisSpace
DMGetCoordinateDM DMSetMatType PetscFESetDualSpace
DMGetCoordinateDim DMSetNumFields PetscFESetFaceQuadrature
DMGetCoordinateSection DMSetOutputSequenceNumber PetscFESetNumComponents
DMGetCoordinates DMSetPointSF PetscFESetQuadrature
DMGetCoordinatesLocal DMSetType PetscFESetTileSizes
DMGetDS DMSetVariableBounds PetscFESetType
DMGetDefaultSF DMSetVecType PetscFV
DMGetDimPoints MatGetDM PetscGaussLobattoLegendreCreateType
DMGetField MatSetDM PetscLimiter
DMGetFineDM PETSCDUALSPACEBDM PetscPartitioner
DMGetGlobalSection PETSCDUALSPACELAGRANGE PetscSpace
DMGetISColoringType PETSCDUALSPACESIMPLE PetscSpaceGetDegree
DMGetLabel PETSCFEBASIC PetscSpaceGetDimension
DMGetLabelByNum PETSCFECOMPOSITE PetscSpaceGetNumComponents
DMGetLabelName PETSCFEOPENCL PetscSpaceGetType
DMGetLocalSection PETSCSPACEPOINT PetscSpacePointGetPoints
DMGetLocalToGlobalMapping PETSCSPACEPOLYNOMIAL PetscSpacePointSetPoints
DMGetMatType PETSCSPACETENSOR PetscSpacePolynomialType
DMGetNumBoundary PetscDS PetscSpaceSetDegree
DMGetNumDS PetscDualSpace PetscSpaceSetNumComponents
DMGetNumFields PetscDualSpaceGetDM PetscSpaceSetType
DMGetNumLabels PetscDualSpaceGetDimension VecGetDM
DMGetOutputDM PetscDualSpaceGetFunctional VecSetDM
DMGetOutputSequenceNumber PetscDualSpaceGetNumComponents
Advanced - Setting more advanced options and customization
DMAdaptMetric DMGetSection DMShellSetGlobalToLocal
DMAppendOptionsPrefix DMGlobalToLocalBeginDefaultShell DMShellSetGlobalToLocalVecScatter
DMCoarsenHookAdd DMGlobalToLocalEndDefaultShell DMShellSetGlobalVector
DMCoarsenHookRemove DMGlobalToLocalHookAdd DMShellSetLocalToGlobal
DMCompositeAddDM DMLocalToGlobalBeginDefaultShell DMShellSetLocalToGlobalVecScatter
DMCompositeCreate DMLocalToGlobalEndDefaultShell DMShellSetLocalToLocal
DMCompositeGather DMLocalToGlobalHookAdd DMShellSetLocalToLocalVecScatter
DMCompositeGatherArray DMLocalToLocalBeginDefaultShell DMShellSetLocalVector
DMCompositeGetAccess DMLocalToLocalEndDefaultShell DMShellSetMatrix
DMCompositeGetAccessArray DMRedundantCreate DMShellSetRefine
DMCompositeGetEntries DMRedundantGetSize DMSlicedCreate
DMCompositeGetEntriesArray DMRedundantSetSize DMSlicedSetBlockFills
DMCompositeGetGlobalISs DMRefineHookAdd DMSlicedSetGhosts
DMCompositeGetISLocalToGlobalMappings DMRefineHookRemove DMSlicedSetPreallocation
DMCompositeGetLocalAccessArray DMRegister DMSubDomainHookAdd
DMCompositeGetLocalVectors DMRegisterAll DMSubDomainHookRemove
DMCompositeRestoreAccess DMSetDefaultConstraints MatFDColoringUseDM
DMCompositeRestoreAccessArray DMSetOptionsPrefix PetscDSRegisterAll
DMCompositeRestoreLocalAccessArray DMSetRefineLevel PetscDualSpaceCreateReferenceCell
DMCompositeRestoreLocalVectors DMSetRegionDS PetscDualSpaceGetDeRahm
DMCompositeScatter DMSetSection PetscDualSpaceGetHeightSubspace
DMCompositeScatterArray DMShellCreate PetscDualSpaceGetPointSubspace
DMCompositeSetCoupling DMShellGetCoarsen PetscDualSpacePullback
DMComputeVariableBounds DMShellGetContext PetscDualSpacePushforward
DMCopyDS DMShellGetCreateInjection PetscDualSpacePushforwardGradient
DMCopyDisc DMShellGetCreateInterpolation PetscDualSpaceRegister
DMCopyFields DMShellGetCreateRestriction PetscDualSpaceRegisterAll
DMFieldDestroy DMShellGetCreateSubDM PetscDualSpaceTransformType
DMFieldGetType DMShellGetRefine PetscFEPushforward
DMFieldRegister DMShellSetCoarsen PetscFEPushforwardGradient
DMFieldRegisterAll DMShellSetContext PetscFERegister
DMFieldSetType DMShellSetCreateDomainDecomposition PetscFERegisterAll
DMFieldView DMShellSetCreateDomainDecompositionScatters PetscFVRegisterAll
DMGetCompatibility DMShellSetCreateFieldDecomposition PetscLimiterRegisterAll
DMGetCoordinatesLocalNoncollective DMShellSetCreateGlobalVector PetscPartitionerRegisterAll
DMGetCoordinatesLocalSetUp DMShellSetCreateInjection PetscSpaceEvaluate
DMGetCoordinatesLocalTuple DMShellSetCreateInterpolation PetscSpaceGetHeightSubspace
DMGetDefaultConstraints DMShellSetCreateLocalVector PetscSpaceRegister
DMGetOptionsPrefix DMShellSetCreateMatrix PetscSpaceRegisterAll
DMGetRegionDS DMShellSetCreateRestriction
DMGetRegionNumDS DMShellSetCreateSubDM
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMHasBasisTransform PetscDualSpaceApply
DMAddLabel DMHasColoring PetscDualSpaceApplyAll
DMClearGlobalVectors DMHasCreateInjection PetscDualSpaceApplyAllDefault
DMClearLocalVectors DMHasCreateRestriction PetscDualSpaceApplyDefault
DMCoarsen DMHasNamedGlobalVector PetscDualSpaceApplyFVM
DMCoarsenHierarchy DMHasNamedLocalVector PetscDualSpaceDestroy
DMComputeL2Diff DMHasVariableBounds PetscDualSpaceGetSymmetries
DMComputeL2FieldDiff DMInitializePackage PetscDualSpaceSetFromOptions
DMComputeL2GradientDiff DMInterpolate PetscDualSpaceSetUp
DMCreateColoring DMLabel PetscDualSpaceTransform
DMCreateDomainDecompositionScatters DMLocalizeCoordinate PetscDualSpaceTransformGradient
DMCreateInjection DMLocalizeCoordinates PetscDualSpaceView
DMCreateInterpolation DMLocatePoints PetscFEDestroy
DMCreateMassMatrix DMProjectFunction PetscFEFinalizePackage
DMCreateRestriction DMRefine PetscFEInitializePackage
DMDestroy DMRefineHierarchy PetscFEIntegrate
DMFieldCreateDefaultQuadrature DMRemoveLabel PetscFEIntegrateBd
DMFieldCreateFEGeom DMRestoreNamedGlobalVector PetscFEIntegrateBdJacobian
DMFieldFinalizePackage DMRestoreNamedLocalVector PetscFEIntegrateBdResidual
DMFieldInitializePackage DMRestoreWorkArray PetscFEIntegrateJacobian
DMFinalizePackage DMRestrict PetscFEIntegrateResidual
DMGetAdjacency DMSetAdjacency PetscFERefine
DMGetBasicAdjacency DMSetBasicAdjacency PetscFESetFromOptions
DMGetBoundary DMSetCoarsenLevel PetscFESetUp
DMGetCellDS DMSetFromOptions PetscFEView
DMGetCoarsenLevel DMSetLabelOutput PetscFVFinalizePackage
DMGetCoordinatesLocalized DMSetMatrixPreallocateOnly PetscFVInitializePackage
DMGetCoordinatesLocalizedLocal DMSetMatrixStructureOnly PetscQuadrature
DMGetLabelOutput DMSetPeriodicity PetscSpaceDestroy
DMGetNamedGlobalVector DMSetUp PetscSpaceSetFromOptions
DMGetNamedLocalVector DMSetVec PetscSpaceSetUp
DMGetPeriodicity DMSubDomainRestrict PetscSpaceView
DMGetRefineLevel PetscDSFinalizePackage
DMGetWorkArray PetscDSInitializePackage
No deprecated routines

Table of Contents