petsc-master 2019-04-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 DMGetOutputSequenceNumber PetscDualSpaceGetFunctional
DMAdaptLabel DMGetPointSF PetscDualSpaceGetNumComponents
DMAddField DMGetSection PetscDualSpaceGetNumDof
DMCOMPOSITE DMGetType PetscDualSpaceGetOrder
DMClearDS DMGetVecType PetscDualSpaceGetType
DMClearFields DMGlobalToLocalBegin PetscDualSpaceLagrangeGetContinuity
DMCompositeGetLocalISs DMGlobalToLocalEnd PetscDualSpaceLagrangeGetTensor
DMConvert DMHasLabel PetscDualSpaceLagrangeSetContinuity
DMCopyLabels DMInterpolationInfo PetscDualSpaceLagrangeSetTensor
DMCreateAggregates DMLoad PetscDualSpaceSetDM
DMCreateDS DMLocalToGlobalBegin PetscDualSpaceSetNumComponents
DMCreateDefaultSF DMLocalToGlobalEnd PetscDualSpaceSetOrder
DMCreateDomainDecomposition DMLocalToLocalBegin PetscDualSpaceSetType
DMCreateFieldDecomposition DMLocalToLocalEnd PetscDualSpaceSimpleSetDimension
DMCreateFieldIS DMOutputSequenceLoad PetscDualSpaceSimpleSetFunctional
DMCreateLabel DMPATCH PetscFE
DMCreateSectionSubDM DMREDUNDANT PetscFECompositeGetMapping
DMCreateSectionSuperDM DMSLICED PetscFEGetBasisSpace
DMCreateSubDM DMSetApplicationContext PetscFEGetDefaultTabulation
DMCreateSuperDM DMSetApplicationContextDestroy PetscFEGetDimension
DMField DMSetCoarseDM PetscFEGetDualSpace
DMFieldEvaluate DMSetCoordinateDM PetscFEGetFaceQuadrature
DMFieldEvaluateFE DMSetCoordinateDim PetscFEGetNumComponents
DMFieldEvaluateFV DMSetCoordinateSection PetscFEGetNumDof
DMFieldGetDM DMSetCoordinates PetscFEGetQuadrature
DMFieldGetDegree DMSetCoordinatesLocal PetscFEGetSpatialDimension
DMFieldGetNumComponents DMSetDefaultSF PetscFEGetTabulation
DMFieldType DMSetField PetscFEGetTileSizes
DMGetApplicationContext DMSetFineDM PetscFEGetType
DMGetBlockSize DMSetGlobalSection PetscFEJacobianType
DMGetCoarseDM DMSetISColoringType PetscFESetBasisSpace
DMGetCoordinateDM DMSetMatType PetscFESetDualSpace
DMGetCoordinateDim DMSetNumFields PetscFESetFaceQuadrature
DMGetCoordinateSection DMSetOutputSequenceNumber PetscFESetNumComponents
DMGetCoordinates DMSetPointSF PetscFESetQuadrature
DMGetCoordinatesLocal DMSetSection PetscFESetTileSizes
DMGetDS DMSetType PetscFESetType
DMGetDefaultSF DMSetVariableBounds PetscFV
DMGetDimPoints DMSetVecType PetscGaussLobattoLegendreCreateType
DMGetField MatGetDM PetscLimiter
DMGetFineDM MatSetDM PetscPartitioner
DMGetGlobalSection PETSCDUALSPACELAGRANGE PetscSpace
DMGetISColoringType PETSCDUALSPACESIMPLE PetscSpaceGetDegree
DMGetLabel PETSCFEBASIC PetscSpaceGetDimension
DMGetLabelByNum PETSCFECOMPOSITE PetscSpaceGetNumComponents
DMGetLabelName PETSCFEOPENCL PetscSpaceGetType
DMGetLocalToGlobalMapping PETSCSPACEPOINT PetscSpacePointGetPoints
DMGetMatType PETSCSPACEPOLYNOMIAL PetscSpacePointSetPoints
DMGetNumBoundary PETSCSPACETENSOR PetscSpaceSetDegree
DMGetNumDS PetscDS PetscSpaceSetNumComponents
DMGetNumFields PetscDualSpace PetscSpaceSetType
DMGetNumLabels PetscDualSpaceGetDM VecGetDM
DMGetOutputDM PetscDualSpaceGetDimension VecSetDM
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 PetscDSInitializePackage
DMAddLabel DMHasColoring PetscDualSpaceApply
DMClearGlobalVectors DMHasCreateInjection PetscDualSpaceApplyAll
DMClearLocalVectors DMHasCreateRestriction PetscDualSpaceApplyAllDefault
DMCoarsen DMHasNamedGlobalVector PetscDualSpaceApplyDefault
DMCoarsenHierarchy DMHasNamedLocalVector PetscDualSpaceApplyFVM
DMComputeL2Diff DMHasVariableBounds PetscDualSpaceDestroy
DMComputeL2FieldDiff DMInitializePackage PetscDualSpaceGetSymmetries
DMComputeL2GradientDiff DMInterpolate PetscDualSpaceSetFromOptions
DMCreateColoring DMLabel PetscDualSpaceSetUp
DMCreateDomainDecompositionScatters DMLocalizeCoordinate PetscDualSpaceView
DMCreateInjection DMLocalizeCoordinates PetscFEDestroy
DMCreateInterpolation DMLocatePoints PetscFEFinalizePackage
DMCreateMassMatrix DMProjectFunction PetscFEInitializePackage
DMCreateRestriction DMRefine PetscFEIntegrate
DMDestroy DMRefineHierarchy PetscFEIntegrateBd
DMFieldCreateDefaultQuadrature DMRemoveLabel PetscFEIntegrateBdJacobian
DMFieldCreateFEGeom DMRestoreNamedGlobalVector PetscFEIntegrateBdResidual
DMFieldFinalizePackage DMRestoreNamedLocalVector PetscFEIntegrateJacobian
DMFieldInitializePackage DMRestoreWorkArray PetscFEIntegrateResidual
DMFinalizePackage DMRestrict PetscFERefine
DMGetAdjacency DMSetAdjacency PetscFESetFromOptions
DMGetBasicAdjacency DMSetBasicAdjacency PetscFESetUp
DMGetBoundary DMSetCoarsenLevel PetscFEView
DMGetCellDS DMSetFromOptions PetscFVFinalizePackage
DMGetCoarsenLevel DMSetLabelOutput PetscFVInitializePackage
DMGetCoordinatesLocalized DMSetMatrixPreallocateOnly PetscQuadrature
DMGetCoordinatesLocalizedLocal DMSetMatrixStructureOnly PetscSpaceDestroy
DMGetLabelOutput DMSetPeriodicity PetscSpaceSetFromOptions
DMGetNamedGlobalVector DMSetUp PetscSpaceSetUp
DMGetNamedLocalVector DMSetVec PetscSpaceView
DMGetPeriodicity DMSubDomainRestrict
DMGetRefineLevel PetscDSFinalizePackage
No deprecated routines

Table of Contents