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

Table of Contents