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

Table of Contents