petsc-master 2019-05-24
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 DMGetSection PetscDualSpaceGetOrder
DMAddField DMGetType PetscDualSpaceGetType
DMCOMPOSITE DMGetVecType PetscDualSpaceLagrangeGetContinuity
DMClearDS DMGlobalToLocalBegin PetscDualSpaceLagrangeGetTensor
DMClearFields DMGlobalToLocalEnd PetscDualSpaceLagrangeSetContinuity
DMCompositeGetLocalISs DMHasLabel PetscDualSpaceLagrangeSetTensor
DMConvert DMInterpolationInfo PetscDualSpaceReferenceCell
DMCopyLabels DMLoad PetscDualSpaceSetDM
DMCreateAggregates DMLocalToGlobalBegin PetscDualSpaceSetNumComponents
DMCreateDS DMLocalToGlobalEnd PetscDualSpaceSetOrder
DMCreateDefaultSF DMLocalToLocalBegin PetscDualSpaceSetType
DMCreateDomainDecomposition DMLocalToLocalEnd PetscDualSpaceSimpleSetDimension
DMCreateFieldDecomposition DMOutputSequenceLoad PetscDualSpaceSimpleSetFunctional
DMCreateFieldIS DMPATCH PetscFE
DMCreateLabel DMREDUNDANT PetscFECompositeGetMapping
DMCreateSectionSubDM DMSLICED PetscFEGetBasisSpace
DMCreateSectionSuperDM DMSetApplicationContext PetscFEGetDefaultTabulation
DMCreateSubDM DMSetApplicationContextDestroy PetscFEGetDimension
DMCreateSuperDM DMSetCoarseDM PetscFEGetDualSpace
DMField DMSetCoordinateDM PetscFEGetFaceQuadrature
DMFieldEvaluate DMSetCoordinateDim PetscFEGetNumComponents
DMFieldEvaluateFE DMSetCoordinateSection PetscFEGetNumDof
DMFieldEvaluateFV DMSetCoordinates PetscFEGetQuadrature
DMFieldGetDM DMSetCoordinatesLocal PetscFEGetSpatialDimension
DMFieldGetDegree DMSetDefaultSF PetscFEGetTabulation
DMFieldGetNumComponents DMSetField PetscFEGetTileSizes
DMFieldType DMSetFineDM PetscFEGetType
DMGetApplicationContext DMSetGlobalSection PetscFEJacobianType
DMGetBlockSize DMSetISColoringType PetscFESetBasisSpace
DMGetCoarseDM DMSetMatType PetscFESetDualSpace
DMGetCoordinateDM DMSetNumFields PetscFESetFaceQuadrature
DMGetCoordinateDim DMSetOutputSequenceNumber PetscFESetNumComponents
DMGetCoordinateSection DMSetPointSF PetscFESetQuadrature
DMGetCoordinates DMSetSection PetscFESetTileSizes
DMGetCoordinatesLocal DMSetType PetscFESetType
DMGetDS DMSetVariableBounds PetscFV
DMGetDefaultSF DMSetVecType PetscGaussLobattoLegendreCreateType
DMGetDimPoints MatGetDM PetscLimiter
DMGetField MatSetDM PetscPartitioner
DMGetFineDM PETSCDUALSPACELAGRANGE PetscSpace
DMGetGlobalSection PETSCDUALSPACESIMPLE PetscSpaceGetDegree
DMGetISColoringType PETSCFEBASIC PetscSpaceGetDimension
DMGetLabel PETSCFECOMPOSITE PetscSpaceGetNumComponents
DMGetLabelByNum PETSCFEOPENCL PetscSpaceGetType
DMGetLabelName 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 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