petsc-master 2015-04-17
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 DMMoabSetFieldName DMSetDefaultSF
DMCOMPOSITE DMMoabSetFieldNames DMSetMatType
DMConvert DMMoabSetFieldVector DMSetOutputSequenceNumber
DMCreateAggregates DMMoabSetGlobalFieldVector DMSetPointSF
DMCreateDefaultSF DMMoabVecGetArray DMSetType
DMCreateDomainDecomposition DMMoabVecGetArrayRead DMSetVariableBounds
DMCreateFieldDecomposition DMMoabVecRestoreArray DMSetVecType
DMCreateFieldIS DMNetworkAddComponent DMSLICED
DMCreateSubDM DMNetworkAddNumVariables MatCreateSeqUSFFT
DMDACoor2d DMNetworkDistribute MatGetDM
DMDACoor3d DMNetworkGetComponentDataArray MATHYPRESSTRUCT
DMDAGetAO DMNetworkGetComponentTypeOffset MATHYPRESTRUCT
DMDAGetCoordinateArray DMNetworkGetConnectedNodes MatSetDM
DMDAGetCoordinateName DMNetworkGetEdgeRange MatSetupDM
DMDAGetElements DMNetworkGetNumComponents PETSCDSBASIC
DMDAGetElementType DMNetworkGetSupportingEdges PetscDSGetBdTabulation
DMDAGetFieldName DMNetworkGetVariableGlobalOffset PetscDSGetRiemannSolver
DMDAGetFieldNames DMNetworkGetVariableOffset PetscDSGetTabulation
DMDAGetInterpolationType DMNetworkGetVertexRange PetscDSGetType
DMDAGetNeighbors DMNETWORK PetscDSSetRiemannSolver
DMDAGetNonOverlappingRegion DMNetworkIsGhostVertex PetscDSSetType
DMDAGetNumLocalSubDomains DMNetworkLayoutSetUp PetscDTGaussJacobiQuadrature
DMDAGetOffset DMNetworkRegisterComponent PetscDTGaussQuadrature
DMDAGetOverlap DMNetworkSetEdgeList PetscDTGaussTensorQuadrature
DMDAGetOwnershipRanges DMNetworkSetNumVariables PetscDTLegendreEval
DMDAGetReducedDMDA DMNetworkSetSizes PetscDualSpaceGetDimension
DMDAGetRefinementFactor DMOutputSequenceLoad PetscDualSpaceGetDM
DMDA DMPlexCopyCoordinates PetscDualSpaceGetFunctional
DMDANaturalToGlobalEnd DMPlexCopyLabels PetscDualSpaceGetNumDof
DMDARestoreCoordinateArray DMPlexCreateClosureIndex PetscDualSpaceGetOrder
DMDARestoreElements DMPlexCreateDefaultReferenceTree PetscDualSpaceGetType
DMDASetAOType DMPlexCreateLabel PetscDualSpaceLagrangeGetContinuity
DMDASetBoundaryType DMPlexCreateReferenceCell PETSCDUALSPACELAGRANGE
DMDASetCoordinateName DMPlexDistribute PetscDualSpaceLagrangeSetContinuity
DMDASetDof DMPlexEqual PetscDualSpaceSetDM
DMDASetElementType DMPlexGenerate PetscDualSpaceSetOrder
DMDASetFieldName DMPlexGetAdjacencyUseAnchors PetscDualSpaceSetType
DMDASetFieldNames DMPlexGetAdjacencyUseClosure PETSCDUALSPACESIMPLE
DMDASetInterpolationType DMPlexGetAdjacencyUseCone PetscDualSpaceSimpleSetDimension
DMDASetNonOverlappingRegion DMPlexGetAnchors PetscDualSpaceSimpleSetFunctional
DMDASetNumLocalSubDomains DMPlexGetCoarseDM PetscDualSpaceViewFromOptions
DMDASetNumProcs DMPlexGetFullJoin PETSCFEBASIC
DMDASetOffset DMPlexGetFullMeet PetscFECompositeGetMapping
DMDASetOverlap DMPlexGetJoin PETSCFECOMPOSITE
DMDASetOwnershipRanges DMPlexGetLabelByNum PetscFEGetBasisSpace
DMDASetRefinementFactor DMPlexGetLabel PetscFEGetDimension
DMDASetSizes DMPlexGetLabelName PetscFEGetDualSpace
DMDASetStencilType DMPlexGetMaxProjectionHeight PetscFEGetNumComponents
DMDASetStencilWidth DMPlexGetMeet PetscFEGetQuadrature
DMDAVecGetArrayDOF DMPlexGetNumLabels PetscFEGetSpatialDimension
DMDAVecGetArrayDOFRead DMPlexGetOrdering PetscFEGetTileSizes
DMDAVecGetArray DMPlexGetPointGlobalField PetscFEGetType
DMDAVecGetArrayRead DMPlexGetPointGlobal PETSCFENONAFFINE
DMDAVecRestoreArrayDOF DMPlexGetPointLocalField PETSCFEOPENCL
DMDAVecRestoreArrayDOFRead DMPlexGetPointLocal PetscFESetBasisSpace
DMDAVecRestoreArray DMPlexGetReferenceTree PetscFESetDualSpace
DMDAVecRestoreArrayRead DMPlexGetTreeChildren PetscFESetNumComponents
DMGetApplicationContext DMPlexGetTree PetscFESetQuadrature
DMGetBlockSize DMPlexGetTreeParent PetscFESetTileSizes
DMGetCoordinateDim DMPlexHasLabel PetscFESetType
DMGetCoordinateDM DMPLEX PetscFVGetType
DMGetCoordinateSection DMPlexInterpolate PETSCFVLEASTSQUARES
DMGetCoordinates DMPlexMatSetClosure PetscFVLeastSquaresSetMaxFaces
DMGetCoordinatesLocal DMPlexMigrate PetscFVSetDualSpace
DMGetDefaultGlobalSection DMPlexPermute PetscFVSetType
DMGetDefaultSection DMPlexPointGlobalFieldRead PETSCFVUPWIND
DMGetDefaultSF DMPlexPointGlobalFieldRef PetscLimiterGetType
DMGetDimPoints DMPlexPointGlobalRead PETSCLIMITERMC
DMGetLocalToGlobalMapping DMPlexPointGlobalRef PETSCLIMITERMINMOD
DMGetMatType DMPlexPointLocalFieldRead PETSCLIMITERNONE
DMGetOutputDM DMPlexPointLocalFieldRef PetscLimiterSetType
DMGetOutputSequenceNumber DMPlexPointLocalRead PETSCLIMITERSIN
DMGetPointSF DMPlexPointLocalRef PETSCLIMITERSUPERBEE
DMGetType DMPlexRestoreJoin PETSCLIMITERVANALBADA
DMGetVecType DMPlexRestoreMeet PETSCLIMITERVANLEER
DM DMPlexSetAdjacencyUseAnchors PETSCLIMITERZERO
DMLabelClearValue DMPlexSetAdjacencyUseClosure PETSCPARTITIONERCHACO
DMLabelGetValue DMPlexSetAdjacencyUseCone PetscPartitionerGetType
DMLabelSetValue DMPlexSetAnchors PetscPartitioner
DMLabelStratumHasPoint DMPlexSetCoarseDM PETSCPARTITIONERPARMETIS
DMLabelView DMPlexSetReferenceTree PetscPartitionerSetType
DMLoad DMPlexSetTree PETSCPARTITIONERSHELL
DMLocalToLocalBegin DMPlexUninterpolate PETSCPARTITIONERSIMPLE
DMLocalToLocalEnd DMPlexVecGetClosure PetscQuadratureExpandComposite
DMMoabCreate DMPlexVecRestoreClosure PetscQuadratureGetData
DMMoabGetDofsBlocked DMPlexVecSetClosure PetscQuadratureGetOrder
DMMoabGetDofsBlockedLocal DMREDUNDANT PetscQuadratureSetData
DMMoabGetDofs DMSetApplicationContextDestroy PetscQuadratureSetOrder
DMMoabGetDofsLocal DMSetApplicationContext PETSCSPACEDG
DMMoabGetFieldDofs DMSetCoordinateDim PetscSpaceGetType
DMMoabGetFieldDofsLocal DMSetCoordinateDM PETSCSPACEPOLYNOMIAL
DMMoabGetFieldName DMSetCoordinateSection PetscSpaceSetType
DMMoabGetVertexDofsBlocked DMSetCoordinates VecGetDM
DMMoabGetVertexDofsBlockedLocal DMSetCoordinatesLocal VecSetDM
DMMOAB DMSetDefaultGlobalSection
DMMoabOutput 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