petsc-master 2019-05-18
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 DMGetOptionsPrefix DMShellSetCreateLocalVector
DMAppendOptionsPrefix DMGetRegionDS DMShellSetCreateMatrix
DMCoarsenHookAdd DMGetRegionNumDS DMShellSetCreateRestriction
DMCoarsenHookRemove DMGlobalToLocalBeginDefaultShell DMShellSetCreateSubDM
DMCompositeAddDM DMGlobalToLocalEndDefaultShell DMShellSetGlobalToLocal
DMCompositeCreate DMGlobalToLocalHookAdd DMShellSetGlobalToLocalVecScatter
DMCompositeGather DMLocalToGlobalBeginDefaultShell DMShellSetGlobalVector
DMCompositeGatherArray DMLocalToGlobalEndDefaultShell DMShellSetLocalToGlobal
DMCompositeGetAccess DMLocalToGlobalHookAdd DMShellSetLocalToGlobalVecScatter
DMCompositeGetAccessArray DMLocalToLocalBeginDefaultShell DMShellSetLocalToLocal
DMCompositeGetEntries DMLocalToLocalEndDefaultShell DMShellSetLocalToLocalVecScatter
DMCompositeGetEntriesArray DMRedundantCreate DMShellSetLocalVector
DMCompositeGetGlobalISs DMRedundantGetSize DMShellSetMatrix
DMCompositeGetISLocalToGlobalMappings DMRedundantSetSize DMShellSetRefine
DMCompositeGetLocalAccessArray DMRefineHookAdd DMSlicedCreate
DMCompositeGetLocalVectors DMRefineHookRemove DMSlicedSetBlockFills
DMCompositeRestoreAccess DMRegister DMSlicedSetGhosts
DMCompositeRestoreAccessArray DMRegisterAll DMSlicedSetPreallocation
DMCompositeRestoreLocalAccessArray DMSetDefaultConstraints DMSubDomainHookAdd
DMCompositeRestoreLocalVectors DMSetOptionsPrefix DMSubDomainHookRemove
DMCompositeScatter DMSetRefineLevel MatFDColoringUseDM
DMCompositeScatterArray DMSetRegionDS PetscDSRegisterAll
DMCompositeSetCoupling DMShellCreate PetscDualSpaceCreateReferenceCell
DMComputeVariableBounds DMShellGetCoarsen PetscDualSpaceGetHeightSubspace
DMCopyDS DMShellGetContext PetscDualSpaceGetPointSubspace
DMCopyDisc DMShellGetCreateInjection PetscDualSpaceRegister
DMCopyFields DMShellGetCreateInterpolation PetscDualSpaceRegisterAll
DMFieldDestroy DMShellGetCreateRestriction PetscFERegister
DMFieldGetType DMShellGetCreateSubDM PetscFERegisterAll
DMFieldRegister DMShellGetRefine PetscFVRegisterAll
DMFieldRegisterAll DMShellSetCoarsen PetscLimiterRegisterAll
DMFieldSetType DMShellSetContext PetscPartitionerRegisterAll
DMFieldView DMShellSetCreateDomainDecomposition PetscSpaceEvaluate
DMGetCompatibility DMShellSetCreateDomainDecompositionScatters PetscSpaceGetHeightSubspace
DMGetCoordinatesLocalNoncollective DMShellSetCreateFieldDecomposition PetscSpaceRegister
DMGetCoordinatesLocalSetUp DMShellSetCreateGlobalVector PetscSpaceRegisterAll
DMGetCoordinatesLocalTuple DMShellSetCreateInjection
DMGetDefaultConstraints DMShellSetCreateInterpolation
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMGetWorkArray PetscDSFinalizePackage
DMAddLabel DMHasBasisTransform PetscDSInitializePackage
DMClearGlobalVectors DMHasColoring PetscDualSpaceApply
DMClearLocalVectors DMHasCreateInjection PetscDualSpaceApplyAll
DMCoarsen DMHasCreateRestriction PetscDualSpaceApplyAllDefault
DMCoarsenHierarchy DMHasNamedGlobalVector PetscDualSpaceApplyDefault
DMComputeL2Diff DMHasNamedLocalVector PetscDualSpaceApplyFVM
DMComputeL2FieldDiff DMHasVariableBounds PetscDualSpaceDestroy
DMComputeL2GradientDiff DMInitializePackage PetscDualSpaceGetSymmetries
DMCreateColoring DMInterpolate PetscDualSpaceSetFromOptions
DMCreateDomainDecompositionScatters DMLabel PetscDualSpaceSetUp
DMCreateInjection DMLocalizeCoordinate PetscDualSpaceView
DMCreateInterpolation DMLocalizeCoordinates PetscFEDestroy
DMCreateMassMatrix DMLocatePoints PetscFEFinalizePackage
DMCreateRestriction DMProjectFunction PetscFEInitializePackage
DMDestroy DMRefine PetscFEIntegrate
DMFieldCreateDefaultQuadrature DMRefineHierarchy PetscFEIntegrateBd
DMFieldCreateFEGeom DMRemoveLabel PetscFEIntegrateBdJacobian
DMFieldFinalizePackage DMRestoreNamedGlobalVector PetscFEIntegrateBdResidual
DMFieldInitializePackage DMRestoreNamedLocalVector PetscFEIntegrateJacobian
DMFinalizePackage DMRestoreWorkArray PetscFEIntegrateResidual
DMGetAdjacency DMRestrict PetscFERefine
DMGetBasicAdjacency DMSetAdjacency PetscFESetFromOptions
DMGetBoundary DMSetBasicAdjacency PetscFESetUp
DMGetCellDS DMSetCoarsenLevel PetscFEView
DMGetCoarsenLevel DMSetFromOptions PetscFVFinalizePackage
DMGetCoordinatesLocalized DMSetLabelOutput PetscFVInitializePackage
DMGetCoordinatesLocalizedLocal DMSetMatrixPreallocateOnly PetscQuadrature
DMGetLabelOutput DMSetMatrixStructureOnly PetscSpaceDestroy
DMGetNamedGlobalVector DMSetPeriodicity PetscSpaceSetFromOptions
DMGetNamedLocalVector DMSetUp PetscSpaceSetUp
DMGetPeriodicity DMSetVec PetscSpaceView
DMGetRefineLevel DMSubDomainRestrict
No deprecated routines

Table of Contents