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

Table of Contents