petsc-dev 2014-08-19
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
DMCreateGlobalVector DMMoabGetLocalToGlobalTag DMPlexGetConeOrientation
DMCreate 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
DMDA_STENCIL_BOX DMMoabSetLocalVertices DMPlexSetConeSize
DMDA_STENCIL_STAR DMMoabSetParallelComm DMPlexSetDimension
DMDAStencilType DMNetworkCreate DMPlexSetLabelValue
DMGetGlobalVector DMPatchCreate DMPlexSetSupport
DMGetLocalVector DMPlexAddConeSize DMPlexSetSupportSize
DMGlobalToLocalBegin DMPlexClearLabelStratum DMPlexStratify
DMGlobalToLocalEnd DMPlexClearLabelValue DMPlexSymmetrize
DMLocalToGlobalBegin DMPlexCreateBoxMesh DMRestoreGlobalVector
DMLocalToGlobalEnd DMPlexCreateCGNS DMRestoreLocalVector
DMMoabCreateBoxMesh DMPlexCreateCubeBoundary PetscDSCreate
DMMoabCreateVector DMPlexCreateDoublet PetscDualSpaceCreate
DMMoabGetAllVertices DMPlexCreateExodus PetscDualSpaceDuplicate
DMMoabGetBlockSize DMPlexCreateFromCellList PetscFECreateDefault
DMMoabGetBoundaryMarkers DMPlexCreateGmsh PetscFECreate
DMMoabGetDimension DMPlexCreateHexBoxMesh PetscFVCreate
DMMoabGetElementConnectivity DMPlexCreate PetscLimiterCreate
DMMoabGetFieldDof DMPlexCreateSquareBoundary PetscSpaceCreate
DMMoabGetInterface DMPlexCreateSquareMesh
Intermediate - Setting options for algorithms and data structures
DMCompositeGetLocalISs DMMoabGetDofsBlocked DMPlexVecRestoreClosure
DMCOMPOSITE DMMoabGetDofsBlockedLocal DMPlexVecSetClosure
DMComputeVariableBounds DMMoabGetDofs DMREDUNDANT
DMConvert DMMoabGetDofsLocal DMSetApplicationContextDestroy
DMCreateAggregates DMMoabGetFieldDofs DMSetApplicationContext
DMCreateDefaultSF DMMoabGetFieldDofsLocal DMSetCoordinateDM
DMCreateDomainDecomposition DMMoabGetFieldName DMSetCoordinateSection
DMCreateFieldDecomposition DMMoabGetVertexDofsBlocked DMSetCoordinates
DMCreateFieldIS DMMoabGetVertexDofsBlockedLocal DMSetCoordinatesLocal
DMCreateSubDM DMMOAB DMSetDefaultGlobalSection
DMDACoor2d DMMoabOutput DMSetDefaultSection
DMDACoor3d DMMoabSetFieldName DMSetDefaultSF
DMDAGetAO DMMoabSetFieldNames DMSetMatType
DMDAGetCoordinateName DMMoabSetFieldVector DMSetOutputSequenceNumber
DMDAGetElements DMMoabSetGlobalFieldVector DMSetPointSF
DMDAGetElementType DMMoabVecGetArray DMSetType
DMDAGetFieldName DMMoabVecGetArrayRead DMSetVariableBounds
DMDAGetInterpolationType DMMoabVecRestoreArray DMSetVecType
DMDAGetNeighbors DMNetworkAddComponent DMSLICED
DMDAGetNonOverlappingRegion DMNetworkAddNumVariables MatCreateSeqUSFFT
DMDAGetNumLocalSubDomains DMNetworkDistribute MatGetDM
DMDAGetOffset DMNetworkGetComponentDataArray MATHYPRESSTRUCT
DMDAGetOverlap DMNetworkGetComponentTypeOffset MATHYPRESTRUCT
DMDAGetOwnershipRanges DMNetworkGetConnectedNodes MatSetDM
DMDAGetReducedDMDA DMNetworkGetEdgeRange MatSetupDM
DMDAGetRefinementFactor DMNetworkGetNumComponents PETSCDSBASIC
DMDA DMNetworkGetSupportingEdges PetscDSGetType
DMDANaturalToGlobalEnd DMNetworkGetVariableGlobalOffset PetscDSSetType
DMDARestoreElements DMNetworkGetVariableOffset PetscDTGaussJacobiQuadrature
DMDASetBoundaryType DMNetworkGetVertexRange PetscDTGaussQuadrature
DMDASetCoordinateName DMNETWORK PetscDTGaussTensorQuadrature
DMDASetDim DMNetworkIsGhostVertex PetscDTLegendreEval
DMDASetDof DMNetworkLayoutSetUp PetscDualSpaceGetDimension
DMDASetElementType DMNetworkRegisterComponent PetscDualSpaceGetDM
DMDASetFieldName DMNetworkSetEdgeList PetscDualSpaceGetFunctional
DMDASetInterpolationType DMNetworkSetNumVariables PetscDualSpaceGetNumDof
DMDASetNonOverlappingRegion DMNetworkSetSizes PetscDualSpaceGetOrder
DMDASetNumLocalSubDomains DMOutputSequenceLoad PetscDualSpaceGetType
DMDASetNumProcs DMPlexCopyCoordinates PetscDualSpaceLagrangeGetContinuity
DMDASetOffset DMPlexCopyLabels PETSCDUALSPACELAGRANGE
DMDASetOverlap DMPlexCreateClosureIndex PetscDualSpaceLagrangeSetContinuity
DMDASetOwnershipRanges DMPlexCreateLabel PetscDualSpaceSetDM
DMDASetRefinementFactor DMPlexDistribute PetscDualSpaceSetOrder
DMDASetSizes DMPlexEqual PetscDualSpaceSetType
DMDASetStencilType DMPlexGenerate PetscDualSpaceViewFromOptions
DMDASetStencilWidth DMPlexGetAdjacencyUseClosure PETSCFEBASIC
DMDAVecGetArrayDOF DMPlexGetAdjacencyUseCone PETSCFECOMPOSITE
DMDAVecGetArray DMPlexGetCoarseDM PetscFEGetDimension
DMDAVecRestoreArrayDOF DMPlexGetFullJoin PetscFEGetType
DMDAVecRestoreArray DMPlexGetFullMeet PETSCFENONAFFINE
DMGetApplicationContext DMPlexGetJoin PETSCFEOPENCL
DMGetBlockSize DMPlexGetLabel PetscFESetType
DMGetCoordinateDM DMPlexGetLabelName PetscFVGetType
DMGetCoordinateSection DMPlexGetMeet PETSCFVLEASTSQUARES
DMGetCoordinates DMPlexGetNumLabels PetscFVLeastSquaresSetMaxFaces
DMGetCoordinatesLocal DMPlexGetOrdering PetscFVSetType
DMGetDefaultGlobalSection DMPlexGetPointGlobal PETSCFVUPWIND
DMGetDefaultSection DMPlexGetPointLocal PetscLimiterGetType
DMGetDefaultSF DMPlexHasLabel PETSCLIMITERMC
DMGetLocalToGlobalMapping DMPLEX PETSCLIMITERMINMOD
DMGetMatType DMPlexInterpolate PETSCLIMITERNONE
DMGetOutputDM DMPlexMatSetClosure PetscLimiterSetType
DMGetOutputSequenceNumber DMPlexPermute PETSCLIMITERSIN
DMGetPointSF DMPlexPointGlobalRead PETSCLIMITERSUPERBEE
DMGetType DMPlexPointGlobalRef PETSCLIMITERVANALBADA
DMGetVecType DMPlexPointLocalRead PETSCLIMITERVANLEER
DMLabelClearValue DMPlexPointLocalRef PETSCLIMITERZERO
DMLabelGetValue DMPlexRestoreJoin PETSCSPACEDG
DMLabelSetValue DMPlexRestoreMeet PetscSpaceGetType
DMLabelStratumHasPoint DMPlexSetAdjacencyUseClosure PETSCSPACEPOLYNOMIAL
DMLoad DMPlexSetAdjacencyUseCone PetscSpaceSetType
DMLocalToLocalBegin DMPlexSetCoarseDM VecGetDM
DMLocalToLocalEnd DMPlexUninterpolate VecSetDM
DMMoabCreate DMPlexVecGetClosure
Advanced - Setting more advanced options and customization
DMCoarsenHookAdd DMDANaturalAllToGlobalCreate DMShellSetGlobalVector
DMCompositeAddDM DMDANaturalToGlobalBegin DMShellSetLocalToGlobal
DMCompositeCreate DMDARestoreArray DMShellSetLocalToGlobalVecScatter
DMCompositeGatherArray DMGlobalToLocalBeginDefaultShell DMShellSetLocalToLocal
DMCompositeGather DMGlobalToLocalEndDefaultShell DMShellSetLocalToLocalVecScatter
DMCompositeGetAccessArray DMGlobalToLocalHookAdd DMShellSetLocalVector
DMCompositeGetAccess DMLocalToGlobalBeginDefaultShell DMShellSetMatrix
DMCompositeGetEntriesArray DMLocalToGlobalEndDefaultShell DMSlicedCreate
DMCompositeGetEntries DMLocalToLocalBeginDefaultShell DMSlicedSetBlockFills
DMCompositeGetGlobalISs DMLocalToLocalEndDefaultShell DMSlicedSetGhosts
DMCompositeGetISLocalToGlobalMappings DMPlexComputeCellGeometryFVM DMSlicedSetPreallocation
DMCompositeGetLocalVectors DMPlexComputeCellGeometry DMSubDomainHookAdd
DMCompositeRestoreAccessArray DMPlexCreateFromDAG PetscDSRegisterAll
DMCompositeRestoreAccess DMPlexCreateRigidBody PetscDSRegister
DMCompositeRestoreLocalVectors DMPlexGetAdjacency PetscDTReconstructPoly
DMCompositeScatterArray DMRedundantCreate PetscDualSpaceCreateReferenceCell
DMCompositeScatter DMRedundantGetSize PetscDualSpaceRegisterAll
DMCompositeSetCoupling DMRedundantSetSize PetscDualSpaceRegister
DMDACreate DMRefineHookAdd PetscFERegisterAll
DMDACreatePF DMRegisterAll PetscFERegister
DMDAGetArray DMRegister PetscFVRegisterAll
DMDAGetLogicalCoordinate DMSetOptionsPrefix PetscFVRegister
DMDAGetProcessorSubset DMShellCreate PetscLimiterRegisterAll
DMDAGetProcessorSubsets DMShellSetCreateGlobalVector PetscLimiterRegister
DMDAGetRay DMShellSetCreateLocalVector PetscSpaceEvaluate
DMDAGlobalToNaturalAllCreate DMShellSetCreateMatrix PetscSpaceRegisterAll
DMDAGlobalToNaturalBegin DMShellSetGlobalToLocal PetscSpaceRegister
DMDAGlobalToNaturalEnd DMShellSetGlobalToLocalVecScatter
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMClearGlobalVectors DMPlexComputeL2GradientDiff PetscDSDestroy
DMCoarsenHierarchy DMPlexConstructCohesiveCells PetscDSFinalizePackage
DMCoarsen 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 PetscFEIntegrateBdResidual
DMDAGetNumCells DMPlexGetRefinementLimit PetscFEIntegrate
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 DMPlexSetHybridBounds PetscFVGetNumComponents
DMGetField DMPlexSetRefinementLimit PetscFVGetSpatialDimension
DMGetNamedGlobalVector DMPlexSetRefinementUniform PetscFVInitializePackage
DMGetNamedLocalVector DMPlexSNESComputeJacobianFEM PetscFVSetComputeGradients
DMGetRefineLevel DMPlexSNESComputeResidualFEM PetscFVSetFromOptions
DMGetWorkArray DMPlexTSComputeIFunctionFEM PetscFVSetLimiter
DMHasColoring DMPlexVTKWriteAll PetscFVSetNumComponents
DMHasVariableBounds DMRefineHierarchy PetscFVSetSpatialDimension
DMInitializePackage DMRefine 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