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

Table of Contents