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

Table of Contents