petsc-dev 2014-08-27
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
DMClone DMMoabGetLocalElements DMPlexGetCone
DMCompositeGetNumberDM DMMoabGetLocalSize DMPlexGetConeOrientation
DMCreateGlobalVector DMMoabGetLocalToGlobalTag DMPlexGetConeSize
DMCreate DMMoabGetLocalVertices DMPlexGetLabelIdIS
DMCreateLocalVector DMMoabGetMaterialBlock DMPlexGetLabelSize
DMCreateMatrix DMMoabGetOffset DMPlexGetLabelValue
DMDACreate1d DMMoabGetParallelComm DMPlexGetMaxSizes
DMDACreate2d DMMoabGetSize DMPlexGetStratumIS
DMDACreate3d DMMoabGetVecRange DMPlexGetStratumSize
DMDAElementType DMMoabGetVecTag DMPlexGetSupport
DMDAGetBoundingBox DMMoabGetVertexConnectivity DMPlexGetSupportSize
DMDAGetCorners DMMoabGetVertexCoordinates DMPlexGetTransitiveClosure
DMDAGetGhostCorners DMMoabIsEntityOnBoundary DMPlexGetTransitiveClosure_Internal
DMDAGetInfo DMMoabLoadFromFile DMPlexRestoreTransitiveClosure
DMDAGetLocalBoundingBox DMMoabRestoreVertexConnectivity DMPlexSetChart
DMDAGetLocalInfo DMMoabSetBlockSize DMPlexSetCone
DMDAInterpolationType DMMoabSetInterface DMPlexSetConeOrientation
DMDALocalInfo DMMoabSetLocalElements DMPlexSetConeSize
DMDASetUniformCoordinates DMMoabSetLocalToGlobalTag DMPlexSetLabelValue
DMDA_STENCIL_BOX DMMoabSetLocalVertices DMPlexSetSupport
DMDA_STENCIL_STAR DMMoabSetParallelComm DMPlexSetSupportSize
DMDAStencilType DMNetworkCreate DMPlexStratify
DMGetDimension DMPatchCreate DMPlexSymmetrize
DMGetGlobalVector DMPlexAddConeSize DMRestoreGlobalVector
DMGetLocalVector DMPlexClearLabelStratum DMRestoreLocalVector
DMGlobalToLocalBegin DMPlexClearLabelValue DMSetDimension
DMGlobalToLocalEnd DMPlexCreateBoxMesh PetscDSCreate
DMLocalToGlobalBegin DMPlexCreateCGNS PetscDualSpaceCreate
DMLocalToGlobalEnd DMPlexCreateCubeBoundary PetscDualSpaceDuplicate
DMMoabCreateBoxMesh DMPlexCreateDoublet PetscFECreateDefault
DMMoabCreateVector DMPlexCreateExodus PetscFECreate
DMMoabGetAllVertices DMPlexCreateFromCellList PetscFVCreate
DMMoabGetBlockSize DMPlexCreateGmsh PetscLimiterCreate
DMMoabGetBoundaryMarkers DMPlexCreateHexBoxMesh PetscQuadratureCreate
DMMoabGetDimension DMPlexCreate PetscQuadratureDestroy
DMMoabGetElementConnectivity DMPlexCreateSquareBoundary PetscQuadratureView
DMMoabGetFieldDof DMPlexCreateSquareMesh PetscSpaceCreate
DMMoabGetInterface DMPlexGetChart
Intermediate - Setting options for algorithms and data structures
DMCompositeGetLocalISs DMMoabGetFieldName DMPlexUninterpolate
DMCOMPOSITE DMMoabGetVertexDofsBlocked DMPlexVecGetClosure
DMComputeVariableBounds DMMoabGetVertexDofsBlockedLocal DMPlexVecRestoreClosure
DMConvert DMMOAB DMPlexVecSetClosure
DMCreateAggregates DMMoabOutput DMREDUNDANT
DMCreateDefaultSF DMMoabSetFieldName DMSetApplicationContextDestroy
DMCreateDomainDecomposition DMMoabSetFieldNames DMSetApplicationContext
DMCreateFieldDecomposition DMMoabSetFieldVector DMSetCoordinateDim
DMCreateFieldIS DMMoabSetGlobalFieldVector DMSetCoordinateDM
DMCreateSubDM DMMoabVecGetArray DMSetCoordinateSection
DMDACoor2d DMMoabVecGetArrayRead DMSetCoordinates
DMDACoor3d DMMoabVecRestoreArray DMSetCoordinatesLocal
DMDAGetAO DMNetworkAddComponent DMSetDefaultGlobalSection
DMDAGetCoordinateName DMNetworkAddNumVariables DMSetDefaultSection
DMDAGetElements DMNetworkDistribute DMSetDefaultSF
DMDAGetElementType DMNetworkGetComponentDataArray DMSetMatType
DMDAGetFieldName DMNetworkGetComponentTypeOffset DMSetOutputSequenceNumber
DMDAGetInterpolationType DMNetworkGetConnectedNodes DMSetPointSF
DMDAGetNeighbors DMNetworkGetEdgeRange DMSetType
DMDAGetNonOverlappingRegion DMNetworkGetNumComponents DMSetVariableBounds
DMDAGetNumLocalSubDomains DMNetworkGetSupportingEdges DMSetVecType
DMDAGetOffset DMNetworkGetVariableGlobalOffset DMSLICED
DMDAGetOverlap DMNetworkGetVariableOffset MatCreateSeqUSFFT
DMDAGetOwnershipRanges DMNetworkGetVertexRange MatGetDM
DMDAGetReducedDMDA DMNETWORK MATHYPRESSTRUCT
DMDAGetRefinementFactor DMNetworkIsGhostVertex MATHYPRESTRUCT
DMDA DMNetworkLayoutSetUp MatSetDM
DMDANaturalToGlobalEnd DMNetworkRegisterComponent MatSetupDM
DMDARestoreElements DMNetworkSetEdgeList PETSCDSBASIC
DMDASetBoundaryType DMNetworkSetNumVariables PetscDSGetType
DMDASetCoordinateName DMNetworkSetSizes PetscDSSetType
DMDASetDof DMOutputSequenceLoad PetscDTGaussJacobiQuadrature
DMDASetElementType DMPlexCopyCoordinates PetscDTGaussQuadrature
DMDASetFieldName DMPlexCopyLabels PetscDTGaussTensorQuadrature
DMDASetInterpolationType DMPlexCreateClosureIndex PetscDTLegendreEval
DMDASetNonOverlappingRegion DMPlexCreateDefaultReferenceTree PetscDualSpaceGetDimension
DMDASetNumLocalSubDomains DMPlexCreateLabel PetscDualSpaceGetDM
DMDASetNumProcs DMPlexCreateReferenceCell PetscDualSpaceGetFunctional
DMDASetOffset DMPlexDecompose PetscDualSpaceGetNumDof
DMDASetOverlap DMPlexDistribute PetscDualSpaceGetOrder
DMDASetOwnershipRanges DMPlexEqual PetscDualSpaceGetType
DMDASetRefinementFactor DMPlexGenerate PetscDualSpaceLagrangeGetContinuity
DMDASetSizes DMPlexGetAdjacencyUseClosure PETSCDUALSPACELAGRANGE
DMDASetStencilType DMPlexGetAdjacencyUseCone PetscDualSpaceLagrangeSetContinuity
DMDASetStencilWidth DMPlexGetAdjacencyUseConstraints PetscDualSpaceSetDM
DMDAVecGetArrayDOF DMPlexGetCoarseDM PetscDualSpaceSetOrder
DMDAVecGetArray DMPlexGetConstraintMatrix PetscDualSpaceSetType
DMDAVecRestoreArrayDOF DMPlexGetConstraintSection PetscDualSpaceViewFromOptions
DMDAVecRestoreArray DMPlexGetConstraints PETSCFEBASIC
DMGetApplicationContext DMPlexGetFullJoin PETSCFECOMPOSITE
DMGetBlockSize DMPlexGetFullMeet PetscFEGetDimension
DMGetCoordinateDim DMPlexGetJoin PetscFEGetType
DMGetCoordinateDM DMPlexGetLabel PETSCFENONAFFINE
DMGetCoordinateSection DMPlexGetLabelName PETSCFEOPENCL
DMGetCoordinates DMPlexGetMeet PetscFESetType
DMGetCoordinatesLocal DMPlexGetNumLabels PetscFVGetType
DMGetDefaultGlobalSection DMPlexGetOrdering PETSCFVLEASTSQUARES
DMGetDefaultSection DMPlexGetPointGlobal PetscFVLeastSquaresSetMaxFaces
DMGetDefaultSF DMPlexGetPointLocal PetscFVSetType
DMGetDimPoints DMPlexGetReferenceTree PETSCFVUPWIND
DMGetLocalToGlobalMapping DMPlexGetTreeChildren PetscLimiterGetType
DMGetMatType DMPlexGetTree PETSCLIMITERMC
DMGetOutputDM DMPlexGetTreeParent PETSCLIMITERMINMOD
DMGetOutputSequenceNumber DMPlexHasLabel PETSCLIMITERNONE
DMGetPointSF DMPLEX PetscLimiterSetType
DMGetType DMPlexInterpolate PETSCLIMITERSIN
DMGetVecType DMPlexMatSetClosure PETSCLIMITERSUPERBEE
DMLabelClearValue DMPlexPermute PETSCLIMITERVANALBADA
DMLabelGetValue DMPlexPointGlobalRead PETSCLIMITERVANLEER
DMLabelSetValue DMPlexPointGlobalRef PETSCLIMITERZERO
DMLabelStratumHasPoint DMPlexPointLocalRead PetscQuadratureGetData
DMLoad DMPlexPointLocalRef PetscQuadratureGetOrder
DMLocalToLocalBegin DMPlexRestoreJoin PetscQuadratureSetData
DMLocalToLocalEnd DMPlexRestoreMeet PetscQuadratureSetOrder
DMMoabCreate DMPlexSetAdjacencyUseClosure PETSCSPACEDG
DMMoabGetDofsBlocked DMPlexSetAdjacencyUseCone PetscSpaceGetType
DMMoabGetDofsBlockedLocal DMPlexSetAdjacencyUseConstraints PETSCSPACEPOLYNOMIAL
DMMoabGetDofs DMPlexSetCoarseDM PetscSpaceSetType
DMMoabGetDofsLocal DMPlexSetConstraints VecGetDM
DMMoabGetFieldDofs DMPlexSetReferenceTree VecSetDM
DMMoabGetFieldDofsLocal DMPlexSetTree
Advanced - Setting more advanced options and customization
DMCoarsenHookAdd DMDANaturalToGlobalBegin DMShellSetGlobalToLocalVecScatter
DMCompositeAddDM DMDARestoreArray DMShellSetGlobalVector
DMCompositeCreate DMGlobalToLocalBeginDefaultShell DMShellSetLocalToGlobal
DMCompositeGatherArray DMGlobalToLocalEndDefaultShell DMShellSetLocalToGlobalVecScatter
DMCompositeGather DMGlobalToLocalHookAdd DMShellSetLocalToLocal
DMCompositeGetAccessArray DMLocalToGlobalBeginDefaultShell DMShellSetLocalToLocalVecScatter
DMCompositeGetAccess DMLocalToGlobalEndDefaultShell DMShellSetLocalVector
DMCompositeGetEntriesArray DMLocalToGlobalHookAdd DMShellSetMatrix
DMCompositeGetEntries DMLocalToLocalBeginDefaultShell DMSlicedCreate
DMCompositeGetGlobalISs DMLocalToLocalEndDefaultShell DMSlicedSetBlockFills
DMCompositeGetISLocalToGlobalMappings DMPlexComputeCellGeometryAffineFEM DMSlicedSetGhosts
DMCompositeGetLocalVectors DMPlexComputeCellGeometryFEM DMSlicedSetPreallocation
DMCompositeRestoreAccessArray DMPlexComputeCellGeometryFVM DMSubDomainHookAdd
DMCompositeRestoreAccess DMPlexCreateFromDAG PetscDSRegisterAll
DMCompositeRestoreLocalVectors DMPlexCreateRigidBody PetscDSRegister
DMCompositeScatterArray DMPlexGetAdjacency PetscDTReconstructPoly
DMCompositeScatter DMPlexSetConstraintMatrix PetscDualSpaceCreateReferenceCell
DMCompositeSetCoupling DMRedundantCreate PetscDualSpaceRegisterAll
DMDACreate DMRedundantGetSize PetscDualSpaceRegister
DMDACreatePF DMRedundantSetSize PetscFERegisterAll
DMDAGetArray DMRefineHookAdd PetscFERegister
DMDAGetLogicalCoordinate DMRegisterAll PetscFVRegisterAll
DMDAGetProcessorSubset DMRegister PetscFVRegister
DMDAGetProcessorSubsets DMSetOptionsPrefix PetscLimiterRegisterAll
DMDAGetRay DMShellCreate PetscLimiterRegister
DMDAGlobalToNaturalAllCreate DMShellSetCreateGlobalVector PetscSpaceEvaluate
DMDAGlobalToNaturalBegin DMShellSetCreateLocalVector PetscSpaceRegisterAll
DMDAGlobalToNaturalEnd DMShellSetCreateMatrix PetscSpaceRegister
DMDANaturalAllToGlobalCreate DMShellSetGlobalToLocal
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMClearGlobalVectors DMPlexComputeL2GradientDiff DMView
DMCoarsenHierarchy DMPlexConstructCohesiveCells PetscDSDestroy
DMCoarsen DMPlexConstructGhostCells PetscDSFinalizePackage
DMCreateColoring DMPlexCreateCoarsePointIS PetscDSInitializePackage
DMCreateDomainDecompositionScatters DMPlexCreateHybridMesh PetscDSSetFromOptions
DMCreateInjection DMPlexCreatePartitionClosure PetscDSSetUp
DMCreateInterpolation DMPlexCreateSection PetscDSView
DMCreateInterpolationScale DMPlexCreateSubmesh PetscDualSpaceApply
DMDAComputeL2Diff DMPlexCreateSubpointIS PetscDualSpaceDestroy
DMDAComputeL2GradientDiff DMPlexDistributeData PetscDualSpaceSetFromOptions
DMDAConvertToCell DMPlexDistributeField PetscDualSpaceSetUp
DMDACreateNaturalVector DMPlexGetDepth PetscDualSpaceView
DMDACreatePatchIS DMPlexGetDepthLabel PetscFEDestroy
DMDACreateSection DMPlexGetDepthStratum PetscFEFinalizePackage
DMDAGetCellPoint DMPlexGetHeightStratum PetscFEInitializePackage
DMDAGetNumCells DMPlexGetHybridBounds PetscFEIntegrateBdResidual
DMDAGetPreallocationCenterDimension DMPlexGetRefinementLimit PetscFEIntegrate
DMDAGetScatter DMPlexGetRefinementUniform PetscFEIntegrateResidual
DMDAProjectFunction DMPlexGetSubpointMap PetscFERefine
DMDASetBlockFills DMPlexInsertBoundaryValuesFEM PetscFESetFromOptions
DMDASetGetMatrix DMPlexInvertCell PetscFESetUp
DMDASetPreallocationCenterDimension DMPlexLabelAddCells PetscFEView
DMDAVTKWriteAll DMPlexLabelCohesiveComplete PetscFVComputeGradient
DMDestroy DMPlexLabelComplete PetscFVDestroy
DMFinalizePackage DMPlexMarkBoundaryFaces PetscFVFinalizePackage
DMGetCoarsenLevel DMPlexReferenceTreeGetChildSymmetry PetscFVGetComputeGradients
DMGetDS DMPlexRemoveLabel PetscFVGetLimiter
DMGetField DMPlexSetHybridBounds PetscFVGetNumComponents
DMGetNamedGlobalVector DMPlexSetRefinementLimit PetscFVGetSpatialDimension
DMGetNamedLocalVector DMPlexSetRefinementUniform PetscFVInitializePackage
DMGetRefineLevel DMPlexSNESComputeJacobianFEM PetscFVSetComputeGradients
DMGetWorkArray DMPlexSNESComputeResidualFEM PetscFVSetFromOptions
DMHasColoring DMPlexTSComputeIFunctionFEM PetscFVSetLimiter
DMHasVariableBounds DMPlexVTKWriteAll PetscFVSetNumComponents
DMInitializePackage DMRefineHierarchy PetscFVSetSpatialDimension
DMInterpolate DMRefine PetscFVSetUp
DMLabelHasPoint DMRestoreNamedGlobalVector PetscFVView
DMLabelHasValue DMRestoreNamedLocalVector PetscLimiterDestroy
DMLocatePoints DMRestoreWorkArray PetscLimiterSetFromOptions
DMMoabSetBlockFills DMRestrict PetscLimiterSetUp
DMPlexAddLabel DMSetDS PetscLimiterView
DMPlexCheckFaces DMSetField PetscQuadrature
DMPlexCheckSkeleton DMSetFromOptions PetscSectionCreateGlobalSectionLabel
DMPlexCheckSymmetry DMSetMatrixPreallocateOnly PetscSpaceDestroy
DMPlexComputeIntegralFEM DMSetUp PetscSpaceSetFromOptions
DMPlexComputeInterpolatorFEM DMSetVec PetscSpaceSetUp
DMPlexComputeL2Diff DMSubDomainRestrict PetscSpaceView
No deprecated routines

Table of Contents