petsc-3.6.1 2015-07-22
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
DMCreate DMMoabGetVertexCoordinates DMPlexSetConeOrientation
DMCreateGlobalVector 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 DMPlexCreate PetscDSGetBdFieldOffset
DMDASetUniformCoordinates DMPlexCreateBoxMesh PetscDSGetComponentBdDerivativeOffsets
DMDAStencilType DMPlexCreateCGNS PetscDSGetComponentBdOffsets
DMDA_STENCIL_BOX DMPlexCreateCubeBoundary PetscDSGetComponentDerivativeOffsets
DMDA_STENCIL_STAR DMPlexCreateDoublet PetscDSGetComponentOffset
DMGetDimension DMPlexCreateExodus PetscDSGetComponentOffsets
DMGetGlobalVector DMPlexCreateFluent PetscDSGetDiscretization
DMGetLocalVector DMPlexCreateFluentFromFile PetscDSGetFieldOffset
DMGlobalToLocalBegin DMPlexCreateFromCellList PetscDSGetNumFields
DMGlobalToLocalEnd DMPlexCreateFromFile PetscDSGetSpatialDimension
DMLocalToGlobalBegin DMPlexCreateGmsh PetscDSGetTotalBdDimension
DMLocalToGlobalEnd DMPlexCreateGmshFromFile PetscDSGetTotalComponents
DMMoabCreateBoxMesh DMPlexCreateHexBoxMesh PetscDSGetTotalDimension
DMMoabCreateVector DMPlexCreateSquareBoundary PetscDSSetBdDiscretization
DMMoabGetAllVertices DMPlexCreateSquareMesh PetscDSSetDiscretization
DMMoabGetBlockSize DMPlexGetChart PetscDualSpaceCreate
DMMoabGetBoundaryMarkers DMPlexGetCone PetscDualSpaceDuplicate
DMMoabGetDimension DMPlexGetConeOrientation PetscFECreate
DMMoabGetElementConnectivity DMPlexGetConeSize PetscFECreateDefault
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
DM DMMoabSetFieldVector DMSetPointSF
DMCOMPOSITE DMMoabSetGlobalFieldVector DMSetType
DMCompositeGetLocalISs DMMoabVecGetArray DMSetVariableBounds
DMConvert DMMoabVecGetArrayRead DMSetVecType
DMCreateAggregates DMMoabVecRestoreArray MATHYPRESSTRUCT
DMCreateDefaultSF DMNETWORK MATHYPRESTRUCT
DMCreateDomainDecomposition DMNetworkAddComponent MatCreateSeqUSFFT
DMCreateFieldDecomposition DMNetworkAddNumVariables MatGetDM
DMCreateFieldIS DMNetworkDistribute MatSetDM
DMCreateSubDM DMNetworkGetComponentDataArray MatSetupDM
DMDA DMNetworkGetComponentTypeOffset PETSCDSBASIC
DMDACoor2d DMNetworkGetConnectedNodes PETSCDUALSPACELAGRANGE
DMDACoor3d DMNetworkGetEdgeRange PETSCDUALSPACESIMPLE
DMDAGetAO DMNetworkGetNumComponents PETSCFEBASIC
DMDAGetCoordinateArray DMNetworkGetSupportingEdges PETSCFECOMPOSITE
DMDAGetCoordinateName DMNetworkGetVariableGlobalOffset PETSCFENONAFFINE
DMDAGetElementType DMNetworkGetVariableOffset PETSCFEOPENCL
DMDAGetElements DMNetworkGetVertexRange PETSCFVLEASTSQUARES
DMDAGetFieldName DMNetworkIsGhostVertex PETSCFVUPWIND
DMDAGetFieldNames DMNetworkLayoutSetUp PETSCLIMITERMC
DMDAGetInterpolationType DMNetworkRegisterComponent PETSCLIMITERMINMOD
DMDAGetNeighbors DMNetworkSetEdgeList PETSCLIMITERNONE
DMDAGetNonOverlappingRegion DMNetworkSetNumVariables PETSCLIMITERSIN
DMDAGetNumLocalSubDomains DMNetworkSetSizes PETSCLIMITERSUPERBEE
DMDAGetOffset DMOutputSequenceLoad PETSCLIMITERVANALBADA
DMDAGetOverlap DMPLEX PETSCLIMITERVANLEER
DMDAGetOwnershipRanges DMPlexCopyCoordinates PETSCLIMITERZERO
DMDAGetReducedDMDA DMPlexCopyLabels PETSCPARTITIONERCHACO
DMDAGetRefinementFactor DMPlexCreateClosureIndex PETSCPARTITIONERPARMETIS
DMDANaturalToGlobalEnd DMPlexCreateDefaultReferenceTree PETSCPARTITIONERSHELL
DMDARestoreCoordinateArray DMPlexCreateLabel PETSCPARTITIONERSIMPLE
DMDARestoreElements DMPlexCreateReferenceCell PETSCSPACEDG
DMDASetAOType DMPlexDistribute PETSCSPACEPOLYNOMIAL
DMDASetBoundaryType DMPlexEqual PetscDSGetBdJacobian
DMDASetCoordinateName DMPlexGenerate PetscDSGetBdResidual
DMDASetDof DMPlexGetAdjacencyUseAnchors PetscDSGetBdTabulation
DMDASetElementType DMPlexGetAdjacencyUseClosure PetscDSGetJacobian
DMDASetFieldName DMPlexGetAdjacencyUseCone PetscDSGetResidual
DMDASetFieldNames DMPlexGetAnchors PetscDSGetRiemannSolver
DMDASetInterpolationType DMPlexGetCoarseDM PetscDSGetTabulation
DMDASetNonOverlappingRegion DMPlexGetFullJoin PetscDSGetType
DMDASetNumLocalSubDomains DMPlexGetFullMeet PetscDSSetBdJacobian
DMDASetNumProcs DMPlexGetJoin PetscDSSetBdResidual
DMDASetOffset DMPlexGetLabel PetscDSSetJacobian
DMDASetOverlap DMPlexGetLabelByNum PetscDSSetResidual
DMDASetOwnershipRanges DMPlexGetLabelName PetscDSSetRiemannSolver
DMDASetRefinementFactor DMPlexGetMaxProjectionHeight PetscDSSetType
DMDASetSizes DMPlexGetMeet PetscDTGaussJacobiQuadrature
DMDASetStencilType DMPlexGetNumBoundary PetscDTGaussQuadrature
DMDASetStencilWidth DMPlexGetNumLabels PetscDTGaussTensorQuadrature
DMDAVecGetArray DMPlexGetOrdering PetscDTLegendreEval
DMDAVecGetArrayDOF DMPlexGetPointGlobal PetscDualSpaceGetDM
DMDAVecGetArrayDOFRead DMPlexGetPointGlobalField PetscDualSpaceGetDimension
DMDAVecGetArrayRead DMPlexGetPointLocal PetscDualSpaceGetFunctional
DMDAVecRestoreArray DMPlexGetPointLocalField PetscDualSpaceGetNumDof
DMDAVecRestoreArrayDOF DMPlexGetReferenceTree PetscDualSpaceGetOrder
DMDAVecRestoreArrayDOFRead DMPlexGetTree PetscDualSpaceGetType
DMDAVecRestoreArrayRead DMPlexGetTreeChildren PetscDualSpaceLagrangeGetContinuity
DMGetApplicationContext DMPlexGetTreeParent PetscDualSpaceLagrangeSetContinuity
DMGetBlockSize DMPlexHasLabel PetscDualSpaceSetDM
DMGetCoordinateDM DMPlexInterpolate PetscDualSpaceSetOrder
DMGetCoordinateDim DMPlexMatSetClosure PetscDualSpaceSetType
DMGetCoordinateSection DMPlexMigrate PetscDualSpaceSimpleSetDimension
DMGetCoordinates DMPlexPermute PetscDualSpaceSimpleSetFunctional
DMGetCoordinatesLocal DMPlexPointGlobalFieldRead PetscFECompositeGetMapping
DMGetDefaultGlobalSection DMPlexPointGlobalFieldRef PetscFEGetBasisSpace
DMGetDefaultSF DMPlexPointGlobalRead PetscFEGetDimension
DMGetDefaultSection DMPlexPointGlobalRef PetscFEGetDualSpace
DMGetDimPoints DMPlexPointLocalFieldRead PetscFEGetNumComponents
DMGetLocalToGlobalMapping DMPlexPointLocalFieldRef PetscFEGetQuadrature
DMGetMatType DMPlexPointLocalRead PetscFEGetSpatialDimension
DMGetOutputDM DMPlexPointLocalRef PetscFEGetTileSizes
DMGetOutputSequenceNumber DMPlexRestoreJoin PetscFEGetType
DMGetPointSF DMPlexRestoreMeet PetscFESetBasisSpace
DMGetType DMPlexSetAdjacencyUseAnchors PetscFESetDualSpace
DMGetVecType DMPlexSetAdjacencyUseClosure PetscFESetNumComponents
DMLabelClearValue DMPlexSetAdjacencyUseCone PetscFESetQuadrature
DMLabelGetValue DMPlexSetAnchors PetscFESetTileSizes
DMLabelInsertIS DMPlexSetCoarseDM PetscFESetType
DMLabelSetValue DMPlexSetReferenceTree PetscFVGetType
DMLabelStratumHasPoint DMPlexSetTree PetscFVLeastSquaresSetMaxFaces
DMLabelView DMPlexUninterpolate PetscFVSetDualSpace
DMLoad DMPlexVecGetClosure PetscFVSetType
DMLocalToLocalBegin DMPlexVecRestoreClosure PetscLimiterGetType
DMLocalToLocalEnd DMPlexVecSetClosure PetscLimiterSetType
DMMOAB DMREDUNDANT PetscPartitioner
DMMoabCreate DMSLICED PetscPartitionerGetType
DMMoabGetDofs DMSetApplicationContext PetscPartitionerSetType
DMMoabGetDofsBlocked DMSetApplicationContextDestroy PetscQuadratureExpandComposite
DMMoabGetDofsBlockedLocal DMSetCoordinateDM PetscQuadratureGetData
DMMoabGetDofsLocal DMSetCoordinateDim PetscQuadratureGetOrder
DMMoabGetFieldDofs DMSetCoordinateSection PetscQuadratureSetData
DMMoabGetFieldDofsLocal DMSetCoordinates PetscQuadratureSetOrder
DMMoabGetFieldName DMSetCoordinatesLocal PetscSpaceGetOrder
DMMoabGetVertexDofsBlocked DMSetDefaultGlobalSection PetscSpaceGetType
DMMoabGetVertexDofsBlockedLocal DMSetDefaultSF PetscSpaceSetOrder
DMMoabOutput DMSetDefaultSection PetscSpaceSetType
DMMoabSetFieldName DMSetMatType VecGetDM
DMMoabSetFieldNames DMSetOutputSequenceNumber VecSetDM
Advanced - Setting more advanced options and customization
DMCoarsenHookAdd DMGlobalToLocalBeginDefaultShell DMShellSetGlobalToLocal
DMCompositeAddDM DMGlobalToLocalEndDefaultShell DMShellSetGlobalToLocalVecScatter
DMCompositeCreate DMGlobalToLocalHookAdd DMShellSetGlobalVector
DMCompositeGather DMLocalToGlobalBeginDefaultShell DMShellSetLocalToGlobal
DMCompositeGatherArray DMLocalToGlobalEndDefaultShell DMShellSetLocalToGlobalVecScatter
DMCompositeGetAccess DMLocalToGlobalHookAdd DMShellSetLocalToLocal
DMCompositeGetAccessArray DMLocalToLocalBeginDefaultShell DMShellSetLocalToLocalVecScatter
DMCompositeGetEntries DMLocalToLocalEndDefaultShell DMShellSetLocalVector
DMCompositeGetEntriesArray DMPlexComputeCellGeometryAffineFEM DMShellSetMatrix
DMCompositeGetGlobalISs DMPlexComputeCellGeometryFEM DMShellSetRefine
DMCompositeGetISLocalToGlobalMappings DMPlexComputeCellGeometryFVM DMSlicedCreate
DMCompositeGetLocalVectors DMPlexCreateFromDAG DMSlicedSetBlockFills
DMCompositeRestoreAccess DMPlexCreateRigidBody DMSlicedSetGhosts
DMCompositeRestoreAccessArray DMPlexGetAdjacency DMSlicedSetPreallocation
DMCompositeRestoreLocalVectors DMPlexOrient DMSubDomainHookAdd
DMCompositeScatter DMPlexReverseCell PetscDSRegister
DMCompositeScatterArray DMPlexSetMaxProjectionHeight PetscDSRegisterAll
DMCompositeSetCoupling DMRedundantCreate PetscDTReconstructPoly
DMComputeVariableBounds DMRedundantGetSize PetscDualSpaceCreateReferenceCell
DMDACreate DMRedundantSetSize PetscDualSpaceGetHeightSubspace
DMDACreatePF DMRefineHookAdd PetscDualSpaceRegister
DMDAGetArray DMRegister PetscDualSpaceRegisterAll
DMDAGetLogicalCoordinate DMRegisterAll PetscFERegister
DMDAGetProcessorSubset DMSetDefaultConstraints PetscFERegisterAll
DMDAGetProcessorSubsets DMSetOptionsPrefix PetscFVRegister
DMDAGetRay DMShellCreate PetscFVRegisterAll
DMDAGlobalToNaturalAllCreate DMShellSetCoarsen PetscLimiterRegister
DMDAGlobalToNaturalBegin DMShellSetCreateFieldDecomposition PetscLimiterRegisterAll
DMDAGlobalToNaturalEnd DMShellSetCreateGlobalVector PetscPartitionerRegister
DMDANaturalAllToGlobalCreate DMShellSetCreateInjection PetscPartitionerRegisterAll
DMDANaturalToGlobalBegin DMShellSetCreateInterpolation PetscSpaceEvaluate
DMDARestoreArray DMShellSetCreateLocalVector PetscSpaceRegister
DMGetDefaultConstraints DMShellSetCreateMatrix PetscSpaceRegisterAll
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMClearGlobalVectors DMPlexCreateSubmesh PetscDSGetAdjacency
DMCoarsen DMPlexCreateSubpointIS PetscDSGetImplicit
DMCoarsenHierarchy 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 PetscFEIntegrate
DMDAGetScatter DMPlexGetRefinementUniform PetscFEIntegrateBdResidual
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 DMRefine PetscLimiterSetFromOptions
DMPlexCheckSymmetry DMRefineHierarchy 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