petsc-master 2019-07-16
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 DMGetSection 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 DMSetMatType PetscFESetBasisSpace
DMGetCoordinateDM DMSetNumFields PetscFESetDualSpace
DMGetCoordinateDim DMSetOutputSequenceNumber PetscFESetFaceQuadrature
DMGetCoordinateSection DMSetPointSF PetscFESetNumComponents
DMGetCoordinates DMSetSection 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
DMGetLocalToGlobalMapping PETSCSPACEPOINT PetscSpacePointGetPoints
DMGetMatType PETSCSPACEPOLYNOMIAL PetscSpacePointSetPoints
DMGetNumBoundary PETSCSPACETENSOR PetscSpacePolynomialType
DMGetNumDS PetscDS PetscSpaceSetDegree
DMGetNumFields PetscDualSpace PetscSpaceSetNumComponents
DMGetNumLabels PetscDualSpaceGetDM PetscSpaceSetType
DMGetOutputDM PetscDualSpaceGetDimension VecGetDM
DMGetOutputSequenceNumber PetscDualSpaceGetFunctional VecSetDM
DMGetPointSF PetscDualSpaceGetNumComponents
Advanced - Setting more advanced options and customization
DMAdaptMetric DMGetRegionNumDS 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 DMShellCreate PetscDualSpaceGetHeightSubspace
DMCompositeScatterArray DMShellGetCoarsen PetscDualSpaceGetPointSubspace
DMCompositeSetCoupling DMShellGetContext PetscDualSpacePullback
DMComputeVariableBounds DMShellGetCreateInjection PetscDualSpacePushforward
DMCopyDS DMShellGetCreateInterpolation PetscDualSpacePushforwardGradient
DMCopyDisc DMShellGetCreateRestriction PetscDualSpaceRegister
DMCopyFields DMShellGetCreateSubDM PetscDualSpaceRegisterAll
DMFieldDestroy DMShellGetRefine PetscDualSpaceTransformType
DMFieldGetType DMShellSetCoarsen PetscFEPushforward
DMFieldRegister DMShellSetContext PetscFEPushforwardGradient
DMFieldRegisterAll DMShellSetCreateDomainDecomposition PetscFERegister
DMFieldSetType DMShellSetCreateDomainDecompositionScatters PetscFERegisterAll
DMFieldView DMShellSetCreateFieldDecomposition PetscFVRegisterAll
DMGetCompatibility DMShellSetCreateGlobalVector PetscLimiterRegisterAll
DMGetCoordinatesLocalNoncollective DMShellSetCreateInjection PetscPartitionerRegisterAll
DMGetCoordinatesLocalSetUp DMShellSetCreateInterpolation PetscSpaceEvaluate
DMGetCoordinatesLocalTuple DMShellSetCreateLocalVector PetscSpaceGetHeightSubspace
DMGetDefaultConstraints DMShellSetCreateMatrix PetscSpaceRegister
DMGetOptionsPrefix DMShellSetCreateRestriction PetscSpaceRegisterAll
DMGetRegionDS 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