petsc-master 2015-07-03
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
DMBoundaryType DMMoabGetVecRange DMPlexRestoreTransitiveClosure
DMClone DMMoabGetVecTag DMPlexSetChart
DMCompositeGetNumberDM DMMoabGetVertexConnectivity DMPlexSetCone
DMCreateGlobalVector DMMoabGetVertexCoordinates DMPlexSetConeOrientation
DMCreate DMMoabIsEntityOnBoundary DMPlexSetConeSize
DMCreateLocalVector DMMoabLoadFromFile DMPlexSetLabelValue
DMCreateMatrix DMMoabRestoreVertexConnectivity DMPlexSetSupport
DMDACreate1d DMMoabSetBlockSize DMPlexSetSupportSize
DMDACreate2d DMMoabSetInterface DMPlexStratify
DMDACreate3d DMMoabSetLocalElements DMPlexSymmetrize
DMDAElementType DMMoabSetLocalToGlobalTag DMRestoreGlobalVector
DMDAGetBoundingBox DMMoabSetLocalVertices DMRestoreLocalVector
DMDAGetCorners DMMoabSetParallelComm DMSetDimension
DMDAGetGhostCorners DMNetworkCreate DMType
DMDAGetInfo DMPatchCreate PetscDSAddBdDiscretization
DMDAGetLocalBoundingBox DMPlexAddConeSize PetscDSAddDiscretization
DMDAGetLocalInfo DMPlexClearLabelStratum PetscDSCreate
DMDAInterpolationType DMPlexClearLabelValue PetscDSGetBdDiscretization
DMDALocalInfo DMPlexCreateBoxMesh PetscDSGetBdFieldOffset
DMDASetUniformCoordinates DMPlexCreateCGNS PetscDSGetComponentBdDerivativeOffsets
DMDA_STENCIL_BOX DMPlexCreateCubeBoundary PetscDSGetComponentBdOffsets
DMDA_STENCIL_STAR DMPlexCreateDoublet PetscDSGetComponentDerivativeOffsets
DMDAStencilType DMPlexCreateExodus PetscDSGetComponentOffset
DMGetDimension DMPlexCreateFluentFromFile PetscDSGetComponentOffsets
DMGetGlobalVector DMPlexCreateFluent PetscDSGetDiscretization
DMGetLocalVector DMPlexCreateFromCellList PetscDSGetFieldOffset
DMGlobalToLocalBegin DMPlexCreateFromFile PetscDSGetNumFields
DMGlobalToLocalEnd DMPlexCreateGmshFromFile PetscDSGetSpatialDimension
DMLocalToGlobalBegin DMPlexCreateGmsh PetscDSGetTotalBdDimension
DMLocalToGlobalEnd DMPlexCreateHexBoxMesh PetscDSGetTotalComponents
DMMoabCreateBoxMesh DMPlexCreate PetscDSGetTotalDimension
DMMoabCreateVector DMPlexCreateSquareBoundary PetscDSSetBdDiscretization
DMMoabGetAllVertices DMPlexCreateSquareMesh PetscDSSetDiscretization
DMMoabGetBlockSize DMPlexGetChart PetscDualSpaceCreate
DMMoabGetBoundaryMarkers DMPlexGetCone PetscDualSpaceDuplicate
DMMoabGetDimension DMPlexGetConeOrientation PetscFECreateDefault
DMMoabGetElementConnectivity DMPlexGetConeSize PetscFECreate
DMMoabGetFieldDof DMPlexGetLabelIdIS PetscFVCreate
DMMoabGetInterface DMPlexGetLabelSize PetscLimiterCreate
DMMoabGetLocalElements DMPlexGetLabelValue PetscPartitionerCreate
DMMoabGetLocalSize DMPlexGetMaxSizes PetscQuadratureCreate
DMMoabGetLocalToGlobalTag DMPlexGetStratumIS PetscQuadratureDestroy
DMMoabGetLocalVertices DMPlexGetStratumSize PetscQuadratureDuplicate
DMMoabGetMaterialBlock DMPlexGetSupport PetscQuadratureView
DMMoabGetOffset DMPlexGetSupportSize PetscSpaceCreate
DMMoabGetParallelComm DMPlexGetTransitiveClosure PetscSpacePolynomialGetTensor
DMMoabGetSize DMPlexGetTransitiveClosure_Internal PetscSpacePolynomialSetTensor
Intermediate - Setting options for algorithms and data structures
DMCompositeGetLocalISs DMMoabSetFieldVector DMSetType
DMCOMPOSITE DMMoabSetGlobalFieldVector DMSetVariableBounds
DMConvert DMMoabVecGetArray DMSetVecType
DMCreateAggregates DMMoabVecGetArrayRead DMSLICED
DMCreateDefaultSF DMMoabVecRestoreArray MatCreateSeqUSFFT
DMCreateDomainDecomposition DMNetworkAddComponent MatGetDM
DMCreateFieldDecomposition DMNetworkAddNumVariables MATHYPRESSTRUCT
DMCreateFieldIS DMNetworkDistribute MATHYPRESTRUCT
DMCreateSubDM DMNetworkGetComponentDataArray MatSetDM
DMDACoor2d DMNetworkGetComponentTypeOffset MatSetupDM
DMDACoor3d DMNetworkGetConnectedNodes PETSCDSBASIC
DMDAGetAO DMNetworkGetEdgeRange PetscDSGetBdJacobian
DMDAGetCoordinateArray DMNetworkGetNumComponents PetscDSGetBdResidual
DMDAGetCoordinateName DMNetworkGetSupportingEdges PetscDSGetBdTabulation
DMDAGetElements DMNetworkGetVariableGlobalOffset PetscDSGetJacobian
DMDAGetElementType DMNetworkGetVariableOffset PetscDSGetResidual
DMDAGetFieldName DMNetworkGetVertexRange PetscDSGetRiemannSolver
DMDAGetFieldNames DMNETWORK PetscDSGetTabulation
DMDAGetInterpolationType DMNetworkIsGhostVertex PetscDSGetType
DMDAGetNeighbors DMNetworkLayoutSetUp PetscDSSetBdJacobian
DMDAGetNonOverlappingRegion DMNetworkRegisterComponent PetscDSSetBdResidual
DMDAGetNumLocalSubDomains DMNetworkSetEdgeList PetscDSSetJacobian
DMDAGetOffset DMNetworkSetNumVariables PetscDSSetResidual
DMDAGetOverlap DMNetworkSetSizes PetscDSSetRiemannSolver
DMDAGetOwnershipRanges DMOutputSequenceLoad PetscDSSetType
DMDAGetReducedDMDA DMPlexCopyCoordinates PetscDTGaussJacobiQuadrature
DMDAGetRefinementFactor DMPlexCopyLabels PetscDTGaussQuadrature
DMDA DMPlexCreateClosureIndex PetscDTGaussTensorQuadrature
DMDANaturalToGlobalEnd DMPlexCreateDefaultReferenceTree PetscDTLegendreEval
DMDARestoreCoordinateArray DMPlexCreateLabel PetscDualSpaceGetDimension
DMDARestoreElements DMPlexCreateReferenceCell PetscDualSpaceGetDM
DMDASetAOType DMPlexDistribute PetscDualSpaceGetFunctional
DMDASetBoundaryType DMPlexEqual PetscDualSpaceGetNumDof
DMDASetCoordinateName DMPlexGenerate PetscDualSpaceGetOrder
DMDASetDof DMPlexGetAdjacencyUseAnchors PetscDualSpaceGetType
DMDASetElementType DMPlexGetAdjacencyUseClosure PetscDualSpaceLagrangeGetContinuity
DMDASetFieldName DMPlexGetAdjacencyUseCone PETSCDUALSPACELAGRANGE
DMDASetFieldNames DMPlexGetAnchors PetscDualSpaceLagrangeSetContinuity
DMDASetInterpolationType DMPlexGetCoarseDM PetscDualSpaceSetDM
DMDASetNonOverlappingRegion DMPlexGetFullJoin PetscDualSpaceSetOrder
DMDASetNumLocalSubDomains DMPlexGetFullMeet PetscDualSpaceSetType
DMDASetNumProcs DMPlexGetJoin PETSCDUALSPACESIMPLE
DMDASetOffset DMPlexGetLabelByNum PetscDualSpaceSimpleSetDimension
DMDASetOverlap DMPlexGetLabel PetscDualSpaceSimpleSetFunctional
DMDASetOwnershipRanges DMPlexGetLabelName PETSCFEBASIC
DMDASetRefinementFactor DMPlexGetMaxProjectionHeight PetscFECompositeGetMapping
DMDASetSizes DMPlexGetMeet PETSCFECOMPOSITE
DMDASetStencilType DMPlexGetNumBoundary PetscFEGetBasisSpace
DMDASetStencilWidth DMPlexGetNumLabels PetscFEGetDimension
DMDAVecGetArrayDOF DMPlexGetOrdering PetscFEGetDualSpace
DMDAVecGetArrayDOFRead DMPlexGetPointGlobalField PetscFEGetNumComponents
DMDAVecGetArray DMPlexGetPointGlobal PetscFEGetQuadrature
DMDAVecGetArrayRead DMPlexGetPointLocalField PetscFEGetSpatialDimension
DMDAVecRestoreArrayDOF DMPlexGetPointLocal PetscFEGetTileSizes
DMDAVecRestoreArrayDOFRead DMPlexGetReferenceTree PetscFEGetType
DMDAVecRestoreArray DMPlexGetTreeChildren PETSCFENONAFFINE
DMDAVecRestoreArrayRead DMPlexGetTree PETSCFEOPENCL
DMGetApplicationContext DMPlexGetTreeParent PetscFESetBasisSpace
DMGetBlockSize DMPlexHasLabel PetscFESetDualSpace
DMGetCoordinateDim DMPLEX PetscFESetNumComponents
DMGetCoordinateDM DMPlexInterpolate PetscFESetQuadrature
DMGetCoordinateSection DMPlexMatSetClosure PetscFESetTileSizes
DMGetCoordinates DMPlexMigrate PetscFESetType
DMGetCoordinatesLocal DMPlexPermute PetscFVGetType
DMGetDefaultGlobalSection DMPlexPointGlobalFieldRead PETSCFVLEASTSQUARES
DMGetDefaultSection DMPlexPointGlobalFieldRef PetscFVLeastSquaresSetMaxFaces
DMGetDefaultSF DMPlexPointGlobalRead PetscFVSetDualSpace
DMGetDimPoints DMPlexPointGlobalRef PetscFVSetType
DMGetLocalToGlobalMapping DMPlexPointLocalFieldRead PETSCFVUPWIND
DMGetMatType DMPlexPointLocalFieldRef PetscLimiterGetType
DMGetOutputDM DMPlexPointLocalRead PETSCLIMITERMC
DMGetOutputSequenceNumber DMPlexPointLocalRef PETSCLIMITERMINMOD
DMGetPointSF DMPlexRestoreJoin PETSCLIMITERNONE
DMGetType DMPlexRestoreMeet PetscLimiterSetType
DMGetVecType DMPlexSetAdjacencyUseAnchors PETSCLIMITERSIN
DM DMPlexSetAdjacencyUseClosure PETSCLIMITERSUPERBEE
DMLabelClearValue DMPlexSetAdjacencyUseCone PETSCLIMITERVANALBADA
DMLabelGetValue DMPlexSetAnchors PETSCLIMITERVANLEER
DMLabelInsertIS DMPlexSetCoarseDM PETSCLIMITERZERO
DMLabelSetValue DMPlexSetReferenceTree PETSCPARTITIONERCHACO
DMLabelStratumHasPoint DMPlexSetTree PetscPartitionerGetType
DMLabelView DMPlexUninterpolate PetscPartitioner
DMLoad DMPlexVecGetClosure PETSCPARTITIONERPARMETIS
DMLocalToLocalBegin DMPlexVecRestoreClosure PetscPartitionerSetType
DMLocalToLocalEnd DMPlexVecSetClosure PETSCPARTITIONERSHELL
DMMoabCreate DMREDUNDANT PETSCPARTITIONERSIMPLE
DMMoabGetDofsBlocked DMSetApplicationContextDestroy PetscQuadratureExpandComposite
DMMoabGetDofsBlockedLocal DMSetApplicationContext PetscQuadratureGetData
DMMoabGetDofs DMSetCoordinateDim PetscQuadratureGetOrder
DMMoabGetDofsLocal DMSetCoordinateDM PetscQuadratureSetData
DMMoabGetFieldDofs DMSetCoordinateSection PetscQuadratureSetOrder
DMMoabGetFieldDofsLocal DMSetCoordinates PETSCSPACEDG
DMMoabGetFieldName DMSetCoordinatesLocal PetscSpaceGetOrder
DMMoabGetVertexDofsBlocked DMSetDefaultGlobalSection PetscSpaceGetType
DMMoabGetVertexDofsBlockedLocal DMSetDefaultSection PETSCSPACEPOLYNOMIAL
DMMOAB DMSetDefaultSF PetscSpaceSetOrder
DMMoabOutput DMSetMatType PetscSpaceSetType
DMMoabSetFieldName DMSetOutputSequenceNumber VecGetDM
DMMoabSetFieldNames DMSetPointSF VecSetDM
Advanced - Setting more advanced options and customization
DMCoarsenHookAdd DMGlobalToLocalBeginDefaultShell DMShellSetGlobalToLocal
DMCompositeAddDM DMGlobalToLocalEndDefaultShell DMShellSetGlobalToLocalVecScatter
DMCompositeCreate DMGlobalToLocalHookAdd DMShellSetGlobalVector
DMCompositeGatherArray DMLocalToGlobalBeginDefaultShell DMShellSetLocalToGlobal
DMCompositeGather DMLocalToGlobalEndDefaultShell DMShellSetLocalToGlobalVecScatter
DMCompositeGetAccessArray DMLocalToGlobalHookAdd DMShellSetLocalToLocal
DMCompositeGetAccess DMLocalToLocalBeginDefaultShell DMShellSetLocalToLocalVecScatter
DMCompositeGetEntriesArray DMLocalToLocalEndDefaultShell DMShellSetLocalVector
DMCompositeGetEntries DMPlexComputeCellGeometryAffineFEM DMShellSetMatrix
DMCompositeGetGlobalISs DMPlexComputeCellGeometryFEM DMShellSetRefine
DMCompositeGetISLocalToGlobalMappings DMPlexComputeCellGeometryFVM DMSlicedCreate
DMCompositeGetLocalVectors DMPlexCreateFromDAG DMSlicedSetBlockFills
DMCompositeRestoreAccessArray DMPlexCreateRigidBody DMSlicedSetGhosts
DMCompositeRestoreAccess DMPlexGetAdjacency DMSlicedSetPreallocation
DMCompositeRestoreLocalVectors DMPlexOrient DMSubDomainHookAdd
DMCompositeScatterArray DMPlexReverseCell PetscDSRegisterAll
DMCompositeScatter DMPlexSetMaxProjectionHeight PetscDSRegister
DMCompositeSetCoupling DMRedundantCreate PetscDTReconstructPoly
DMComputeVariableBounds DMRedundantGetSize PetscDualSpaceCreateReferenceCell
DMDACreate DMRedundantSetSize PetscDualSpaceGetHeightSubspace
DMDACreatePF DMRefineHookAdd PetscDualSpaceRegisterAll
DMDAGetArray DMRegisterAll PetscDualSpaceRegister
DMDAGetLogicalCoordinate DMRegister PetscFERegisterAll
DMDAGetProcessorSubset DMSetDefaultConstraints PetscFERegister
DMDAGetProcessorSubsets DMSetOptionsPrefix PetscFVRegisterAll
DMDAGetRay DMShellCreate PetscFVRegister
DMDAGlobalToNaturalAllCreate DMShellSetCoarsen PetscLimiterRegisterAll
DMDAGlobalToNaturalBegin DMShellSetCreateFieldDecomposition PetscLimiterRegister
DMDAGlobalToNaturalEnd DMShellSetCreateGlobalVector PetscPartitionerRegisterAll
DMDANaturalAllToGlobalCreate DMShellSetCreateInjection PetscPartitionerRegister
DMDANaturalToGlobalBegin DMShellSetCreateInterpolation PetscSpaceEvaluate
DMDARestoreArray DMShellSetCreateLocalVector PetscSpaceRegisterAll
DMGetDefaultConstraints DMShellSetCreateMatrix PetscSpaceRegister
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMClearGlobalVectors DMPlexCreateSubmesh PetscDSGetAdjacency
DMCoarsenHierarchy DMPlexCreateSubpointIS PetscDSGetImplicit
DMCoarsen DMPlexCreateTwoSidedProcessSF PetscDSInitializePackage
DMCreateColoring DMPlexDerivePointSF PetscDSSetAdjacency
DMCreateDomainDecompositionScatters DMPlexDistributeData PetscDSSetFromOptions
DMCreateInjection DMPlexDistributeField PetscDSSetImplicit
DMCreateInterpolation DMPlexDistributeFieldIS PetscDSSetUp
DMCreateInterpolationScale DMPlexDistributeOwnership PetscDSView
DMDAComputeL2Diff DMPlexGetDepth PetscDualSpaceApply
DMDAComputeL2GradientDiff DMPlexGetDepthLabel PetscDualSpaceDestroy
DMDAConvertToCell DMPlexGetDepthStratum PetscDualSpaceSetFromOptions
DMDACreateNaturalVector DMPlexGetHeightStratum PetscDualSpaceSetUp
DMDACreatePatchIS DMPlexGetHybridBounds PetscDualSpaceView
DMDACreateSection DMPlexGetLabelOutput PetscFEDestroy
DMDAGetCellPoint DMPlexGetMinRadius PetscFEFinalizePackage
DMDAGetNumCells DMPlexGetPartitioner PetscFEInitializePackage
DMDAGetPreallocationCenterDimension DMPlexGetRefinementLimit PetscFEIntegrateBdResidual
DMDAGetScatter DMPlexGetRefinementUniform PetscFEIntegrate
DMDAProjectFunction DMPlexGetSubpointMap PetscFEIntegrateJacobian
DMDASetBlockFills DMPlexInvertCell PetscFEIntegrateResidual
DMDASetGetMatrix DMPlexLabelAddCells PetscFESetFromOptions
DMDASetPreallocationCenterDimension DMPlexLabelCohesiveComplete PetscFESetUp
DMDAVTKWriteAll DMPlexLabelComplete PetscFEView
DMDestroy DMPlexLocalizeCoordinate PetscFVComputeGradient
DMFinalizePackage DMPlexLocalizeCoordinates PetscFVDestroy
DMGetCoarsenLevel DMPlexMarkBoundaryFaces PetscFVFinalizePackage
DMGetDS DMPlexPartitionLabelAdjacency PetscFVGetComputeGradients
DMGetField DMPlexPartitionLabelClosure PetscFVGetDualSpace
DMGetNamedGlobalVector DMPlexPartitionLabelCreateSF PetscFVGetLimiter
DMGetNamedLocalVector DMPlexPartitionLabelInvert PetscFVGetNumComponents
DMGetRefineLevel DMPlexProjectFunction PetscFVGetQuadrature
DMGetWorkArray DMPlexReferenceTreeGetChildSymmetry PetscFVGetSpatialDimension
DMHasColoring DMPlexRemoveLabel PetscFVInitializePackage
DMHasVariableBounds DMPlexSetHybridBounds PetscFVRefine
DMInitializePackage DMPlexSetLabelOutput PetscFVSetComputeGradients
DMInterpolate DMPlexSetMinRadius PetscFVSetFromOptions
DMLabelHasPoint DMPlexSetPartitioner PetscFVSetLimiter
DMLabelHasValue DMPlexSetRefinementLimit PetscFVSetNumComponents
DMLocatePoints DMPlexSetRefinementUniform PetscFVSetQuadrature
DMMoabSetBlockFills DMPlexStratifyMigrationSF PetscFVSetSpatialDimension
DMPlexAddBoundary DMPlexTetgenSetOptions PetscFVSetUp
DMPlexAddLabel DMPlexTriangleSetOptions PetscFVView
DMPlexCheckFaces DMPlexVTKWriteAll PetscLimiterDestroy
DMPlexCheckSkeleton DMRefineHierarchy PetscLimiterSetFromOptions
DMPlexCheckSymmetry DMRefine PetscLimiterSetUp
DMPlexComputeGeometryFVM DMRestoreNamedGlobalVector PetscLimiterView
DMPlexComputeGradientFVM DMRestoreNamedLocalVector PetscPartitionerDestroy
DMPlexComputeIntegralFEM DMRestoreWorkArray PetscPartitionerPartition
DMPlexComputeInterpolatorFEM DMRestrict PetscPartitionerSetFromOptions
DMPlexComputeL2Diff DMSetDS PetscPartitionerSetUp
DMPlexComputeL2FieldDiff DMSetField PetscPartitionerShellSetPartition
DMPlexComputeL2GradientDiff DMSetFromOptions PetscPartitionerView
DMPlexConstructCohesiveCells DMSetMatrixPreallocateOnly PetscQuadrature
DMPlexConstructGhostCells DMSetPeriodicity PetscSectionCreateGlobalSectionLabel
DMPlexCreateCoarsePointIS DMSetUp PetscSpaceDestroy
DMPlexCreateHybridMesh DMSetVec PetscSpaceSetFromOptions
DMPlexCreateOverlap DMSubDomainRestrict PetscSpaceSetUp
DMPlexCreatePartitionerGraph DMView PetscSpaceView
DMPlexCreateProcessSF PetscDSDestroy
DMPlexCreateSection PetscDSFinalizePackage
No deprecated routines

Table of Contents