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

Table of Contents