petsc-master 2015-02-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
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 DMMoabSetFieldNames DMSetDefaultSection
DMCOMPOSITE DMMoabSetFieldVector DMSetDefaultSF
DMConvert DMMoabSetGlobalFieldVector DMSetMatType
DMCreateAggregates DMMoabVecGetArray DMSetOutputSequenceNumber
DMCreateDefaultSF DMMoabVecGetArrayRead DMSetPointSF
DMCreateDomainDecomposition DMMoabVecRestoreArray DMSetType
DMCreateFieldDecomposition DMNetworkAddComponent DMSetVariableBounds
DMCreateFieldIS DMNetworkAddNumVariables DMSetVecType
DMCreateSubDM DMNetworkDistribute DMSLICED
DMDACoor2d DMNetworkGetComponentDataArray MatCreateSeqUSFFT
DMDACoor3d DMNetworkGetComponentTypeOffset MatGetDM
DMDAGetAO DMNetworkGetConnectedNodes MATHYPRESSTRUCT
DMDAGetCoordinateName DMNetworkGetEdgeRange MATHYPRESTRUCT
DMDAGetElements DMNetworkGetNumComponents MatSetDM
DMDAGetElementType DMNetworkGetSupportingEdges MatSetupDM
DMDAGetFieldName DMNetworkGetVariableGlobalOffset PETSCDSBASIC
DMDAGetInterpolationType DMNetworkGetVariableOffset PetscDSGetBdTabulation
DMDAGetNeighbors DMNetworkGetVertexRange PetscDSGetRiemannSolver
DMDAGetNonOverlappingRegion DMNETWORK PetscDSGetTabulation
DMDAGetNumLocalSubDomains DMNetworkIsGhostVertex PetscDSGetType
DMDAGetOffset DMNetworkLayoutSetUp PetscDSSetRiemannSolver
DMDAGetOverlap DMNetworkRegisterComponent PetscDSSetType
DMDAGetOwnershipRanges DMNetworkSetEdgeList PetscDTGaussJacobiQuadrature
DMDAGetReducedDMDA DMNetworkSetNumVariables PetscDTGaussQuadrature
DMDAGetRefinementFactor DMNetworkSetSizes PetscDTGaussTensorQuadrature
DMDA DMOutputSequenceLoad PetscDTLegendreEval
DMDANaturalToGlobalEnd DMPlexCopyCoordinates PetscDualSpaceGetDimension
DMDARestoreElements DMPlexCopyLabels PetscDualSpaceGetDM
DMDASetAOType DMPlexCreateClosureIndex PetscDualSpaceGetFunctional
DMDASetBoundaryType DMPlexCreateDefaultReferenceTree PetscDualSpaceGetNumDof
DMDASetCoordinateName DMPlexCreateLabel PetscDualSpaceGetOrder
DMDASetDof DMPlexCreateReferenceCell PetscDualSpaceGetType
DMDASetElementType DMPlexDistribute PetscDualSpaceLagrangeGetContinuity
DMDASetFieldName DMPlexEqual PETSCDUALSPACELAGRANGE
DMDASetInterpolationType DMPlexGenerate PetscDualSpaceLagrangeSetContinuity
DMDASetNonOverlappingRegion DMPlexGetAdjacencyUseAnchors PetscDualSpaceSetDM
DMDASetNumLocalSubDomains DMPlexGetAdjacencyUseClosure PetscDualSpaceSetOrder
DMDASetNumProcs DMPlexGetAdjacencyUseCone PetscDualSpaceSetType
DMDASetOffset DMPlexGetAnchors PETSCDUALSPACESIMPLE
DMDASetOverlap DMPlexGetCoarseDM PetscDualSpaceSimpleSetDimension
DMDASetOwnershipRanges DMPlexGetFullJoin PetscDualSpaceSimpleSetFunctional
DMDASetRefinementFactor DMPlexGetFullMeet PetscDualSpaceViewFromOptions
DMDASetSizes DMPlexGetJoin PETSCFEBASIC
DMDASetStencilType DMPlexGetLabelByNum PETSCFECOMPOSITE
DMDASetStencilWidth DMPlexGetLabel PetscFEGetBasisSpace
DMDAVecGetArrayDOF DMPlexGetLabelName PetscFEGetDimension
DMDAVecGetArrayDOFRead DMPlexGetMaxProjectionHeight PetscFEGetDualSpace
DMDAVecGetArray DMPlexGetMeet PetscFEGetNumComponents
DMDAVecGetArrayRead DMPlexGetNumLabels PetscFEGetQuadrature
DMDAVecRestoreArrayDOF DMPlexGetOrdering PetscFEGetSpatialDimension
DMDAVecRestoreArrayDOFRead DMPlexGetPointGlobal PetscFEGetTileSizes
DMDAVecRestoreArray DMPlexGetPointLocal PetscFEGetType
DMDAVecRestoreArrayRead DMPlexGetReferenceTree PETSCFENONAFFINE
DMGetApplicationContext DMPlexGetTreeChildren PETSCFEOPENCL
DMGetBlockSize DMPlexGetTree PetscFESetBasisSpace
DMGetCoordinateDim DMPlexGetTreeParent PetscFESetDualSpace
DMGetCoordinateDM DMPlexHasLabel PetscFESetNumComponents
DMGetCoordinateSection DMPLEX PetscFESetQuadrature
DMGetCoordinates DMPlexInterpolate PetscFESetTileSizes
DMGetCoordinatesLocal DMPlexMatSetClosure PetscFESetType
DMGetDefaultGlobalSection DMPlexMigrate PetscFVGetType
DMGetDefaultSection DMPlexPermute PETSCFVLEASTSQUARES
DMGetDefaultSF DMPlexPointGlobalFieldRead PetscFVLeastSquaresSetMaxFaces
DMGetDimPoints DMPlexPointGlobalFieldRef PetscFVSetType
DMGetLocalToGlobalMapping DMPlexPointGlobalRead PETSCFVUPWIND
DMGetMatType DMPlexPointGlobalRef PetscLimiterGetType
DMGetOutputDM DMPlexPointLocalFieldRead PETSCLIMITERMC
DMGetOutputSequenceNumber DMPlexPointLocalFieldRef PETSCLIMITERMINMOD
DMGetPointSF DMPlexPointLocalRead PETSCLIMITERNONE
DMGetType DMPlexPointLocalRef PetscLimiterSetType
DMGetVecType DMPlexRestoreJoin PETSCLIMITERSIN
DM DMPlexRestoreMeet PETSCLIMITERSUPERBEE
DMLabelClearValue DMPlexSetAdjacencyUseAnchors PETSCLIMITERVANALBADA
DMLabelGetValue DMPlexSetAdjacencyUseClosure PETSCLIMITERVANLEER
DMLabelSetValue DMPlexSetAdjacencyUseCone PETSCLIMITERZERO
DMLabelStratumHasPoint DMPlexSetAnchors PETSCPARTITIONERCHACO
DMLoad DMPlexSetCoarseDM PetscPartitionerGetType
DMLocalToLocalBegin DMPlexSetReferenceTree PetscPartitioner
DMLocalToLocalEnd DMPlexSetTree PETSCPARTITIONERPARMETIS
DMMoabCreate DMPlexUninterpolate PetscPartitionerSetType
DMMoabGetDofsBlocked DMPlexVecGetClosure PETSCPARTITIONERSHELL
DMMoabGetDofsBlockedLocal DMPlexVecRestoreClosure PETSCPARTITIONERSIMPLE
DMMoabGetDofs DMPlexVecSetClosure PetscQuadratureGetData
DMMoabGetDofsLocal DMREDUNDANT PetscQuadratureGetOrder
DMMoabGetFieldDofs DMSetApplicationContextDestroy PetscQuadratureSetData
DMMoabGetFieldDofsLocal DMSetApplicationContext PetscQuadratureSetOrder
DMMoabGetFieldName DMSetCoordinateDim PETSCSPACEDG
DMMoabGetVertexDofsBlocked DMSetCoordinateDM PetscSpaceGetType
DMMoabGetVertexDofsBlockedLocal DMSetCoordinateSection PETSCSPACEPOLYNOMIAL
DMMOAB DMSetCoordinates PetscSpaceSetType
DMMoabOutput DMSetCoordinatesLocal VecGetDM
DMMoabSetFieldName DMSetDefaultGlobalSection VecSetDM
Advanced - Setting more advanced options and customization
DMCoarsenHookAdd DMGetDefaultConstraints DMShellSetGlobalVector
DMCompositeAddDM DMGlobalToLocalBeginDefaultShell DMShellSetLocalToGlobal
DMCompositeCreate DMGlobalToLocalEndDefaultShell DMShellSetLocalToGlobalVecScatter
DMCompositeGatherArray DMGlobalToLocalHookAdd DMShellSetLocalToLocal
DMCompositeGather DMLocalToGlobalBeginDefaultShell DMShellSetLocalToLocalVecScatter
DMCompositeGetAccessArray DMLocalToGlobalEndDefaultShell DMShellSetLocalVector
DMCompositeGetAccess DMLocalToGlobalHookAdd DMShellSetMatrix
DMCompositeGetEntriesArray DMLocalToLocalBeginDefaultShell DMSlicedCreate
DMCompositeGetEntries DMLocalToLocalEndDefaultShell DMSlicedSetBlockFills
DMCompositeGetGlobalISs DMPlexComputeCellGeometryAffineFEM DMSlicedSetGhosts
DMCompositeGetISLocalToGlobalMappings DMPlexComputeCellGeometryFEM DMSlicedSetPreallocation
DMCompositeGetLocalVectors DMPlexComputeCellGeometryFVM DMSubDomainHookAdd
DMCompositeRestoreAccessArray DMPlexCreateFromDAG PetscDSRegisterAll
DMCompositeRestoreAccess DMPlexCreateRigidBody PetscDSRegister
DMCompositeRestoreLocalVectors DMPlexGetAdjacency PetscDTReconstructPoly
DMCompositeScatterArray DMPlexOrient PetscDualSpaceCreateReferenceCell
DMCompositeScatter DMPlexReverseCell PetscDualSpaceGetHeightSubspace
DMCompositeSetCoupling DMPlexSetMaxProjectionHeight PetscDualSpaceRegisterAll
DMComputeVariableBounds DMRedundantCreate PetscDualSpaceRegister
DMDACreate DMRedundantGetSize PetscFERegisterAll
DMDACreatePF DMRedundantSetSize PetscFERegister
DMDAGetArray DMRefineHookAdd PetscFVRegisterAll
DMDAGetLogicalCoordinate DMRegisterAll PetscFVRegister
DMDAGetProcessorSubset DMRegister PetscLimiterRegisterAll
DMDAGetProcessorSubsets DMSetDefaultConstraints PetscLimiterRegister
DMDAGetRay DMSetOptionsPrefix PetscPartitionerRegisterAll
DMDAGlobalToNaturalAllCreate DMShellCreate PetscPartitionerRegister
DMDAGlobalToNaturalBegin DMShellSetCreateGlobalVector PetscSpaceEvaluate
DMDAGlobalToNaturalEnd DMShellSetCreateLocalVector PetscSpaceRegisterAll
DMDANaturalAllToGlobalCreate DMShellSetCreateMatrix PetscSpaceRegister
DMDANaturalToGlobalBegin DMShellSetGlobalToLocal
DMDARestoreArray DMShellSetGlobalToLocalVecScatter
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