petsc-master 2015-08-04
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 DMMoabGetVecRange DMPlexSetChart
DMClone DMMoabGetVecTag DMPlexSetCone
DMCompositeGetNumberDM DMMoabGetVertexConnectivity DMPlexSetConeOrientation
DMCreateGlobalVector DMMoabGetVertexCoordinates DMPlexSetConeSize
DMCreate DMMoabIsEntityOnBoundary DMPlexSetLabelValue
DMCreateLocalVector DMMoabLoadFromFile DMPlexSetSupport
DMCreateMatrix DMMoabRestoreVertexConnectivity DMPlexSetSupportSize
DMDACreate1d DMMoabSetBlockSize DMPlexStratify
DMDACreate2d DMMoabSetInterface DMPlexSymmetrize
DMDACreate3d DMMoabSetLocalElements DMRestoreGlobalVector
DMDAElementType DMMoabSetLocalToGlobalTag DMRestoreLocalVector
DMDAGetBoundingBox DMMoabSetLocalVertices DMSetDimension
DMDAGetCorners DMMoabSetParallelComm DMSetUseNatural
DMDAGetGhostCorners DMNetworkCreate DMType
DMDAGetInfo DMPatchCreate DMView
DMDAGetLocalBoundingBox DMPlexAddConeSize PetscDSAddBdDiscretization
DMDAGetLocalInfo DMPlexClearLabelStratum PetscDSAddDiscretization
DMDAInterpolationType DMPlexClearLabelValue PetscDSCreate
DMDALocalInfo DMPlexCreateBoxMesh PetscDSGetBdDiscretization
DMDASetUniformCoordinates DMPlexCreateCGNS PetscDSGetBdFieldOffset
DMDA_STENCIL_BOX DMPlexCreateCubeBoundary PetscDSGetComponentBdDerivativeOffsets
DMDA_STENCIL_STAR DMPlexCreateDoublet PetscDSGetComponentBdOffsets
DMDAStencilType DMPlexCreateExodus PetscDSGetComponentDerivativeOffsets
DMGetDimension DMPlexCreateFluentFromFile PetscDSGetComponentOffset
DMGetGlobalVector DMPlexCreateFluent PetscDSGetComponentOffsets
DMGetLocalVector DMPlexCreateFromCellList PetscDSGetDiscretization
DMGetUseNatural DMPlexCreateFromFile PetscDSGetFieldOffset
DMGlobalToLocalBegin DMPlexCreateGmshFromFile PetscDSGetNumFields
DMGlobalToLocalEnd DMPlexCreateGmsh PetscDSGetSpatialDimension
DMLocalToGlobalBegin DMPlexCreateHexBoxMesh PetscDSGetTotalBdDimension
DMLocalToGlobalEnd DMPlexCreate PetscDSGetTotalComponents
DMMoabCreateBoxMesh DMPlexCreateSquareBoundary PetscDSGetTotalDimension
DMMoabCreateVector DMPlexCreateSquareMesh PetscDSSetBdDiscretization
DMMoabGetAllVertices DMPlexGetChart PetscDSSetDiscretization
DMMoabGetBlockSize DMPlexGetCone PetscDualSpaceCreate
DMMoabGetBoundaryMarkers DMPlexGetConeOrientation PetscDualSpaceDuplicate
DMMoabGetDimension DMPlexGetConeSize PetscFECreateDefault
DMMoabGetElementConnectivity DMPlexGetLabelIdIS PetscFECreate
DMMoabGetFieldDof DMPlexGetLabelSize PetscFVCreate
DMMoabGetInterface DMPlexGetLabelValue PetscLimiterCreate
DMMoabGetLocalElements DMPlexGetMaxSizes PetscPartitionerCreate
DMMoabGetLocalSize DMPlexGetStratumIS PetscQuadratureCreate
DMMoabGetLocalToGlobalTag DMPlexGetStratumSize PetscQuadratureDestroy
DMMoabGetLocalVertices DMPlexGetSupport PetscQuadratureDuplicate
DMMoabGetMaterialBlock DMPlexGetSupportSize PetscQuadratureView
DMMoabGetOffset DMPlexGetTransitiveClosure PetscSpaceCreate
DMMoabGetParallelComm DMPlexGetTransitiveClosure_Internal PetscSpacePolynomialGetTensor
DMMoabGetSize DMPlexRestoreTransitiveClosure PetscSpacePolynomialSetTensor
Intermediate - Setting options for algorithms and data structures
DMCompositeGetLocalISs DMMoabVecGetArray DMSetPointSF
DMCOMPOSITE DMMoabVecGetArrayRead DMSetType
DMConvert DMMoabVecRestoreArray DMSetVariableBounds
DMCreateAggregates DMNetworkAddComponent DMSetVecType
DMCreateDefaultSF DMNetworkAddNumVariables DMSLICED
DMCreateDomainDecomposition DMNetworkDistribute MatCreateSeqUSFFT
DMCreateFieldDecomposition DMNetworkGetComponentDataArray MatGetDM
DMCreateFieldIS DMNetworkGetComponentTypeOffset MATHYPRESSTRUCT
DMCreateSubDM DMNetworkGetConnectedNodes MATHYPRESTRUCT
DMDACoor2d DMNetworkGetEdgeRange MatSetDM
DMDACoor3d DMNetworkGetNumComponents MatSetupDM
DMDAGetAO DMNetworkGetSupportingEdges PETSCDSBASIC
DMDAGetCoordinateArray DMNetworkGetVariableGlobalOffset PetscDSGetBdJacobian
DMDAGetCoordinateName DMNetworkGetVariableOffset PetscDSGetBdResidual
DMDAGetElements DMNetworkGetVertexRange PetscDSGetBdTabulation
DMDAGetElementType DMNETWORK PetscDSGetJacobian
DMDAGetFieldName DMNetworkIsGhostVertex PetscDSGetResidual
DMDAGetFieldNames DMNetworkLayoutSetUp PetscDSGetRiemannSolver
DMDAGetInterpolationType DMNetworkRegisterComponent PetscDSGetTabulation
DMDAGetNeighbors DMNetworkSetEdgeList PetscDSGetType
DMDAGetNonOverlappingRegion DMNetworkSetNumVariables PetscDSSetBdJacobian
DMDAGetNumLocalSubDomains DMNetworkSetSizes PetscDSSetBdResidual
DMDAGetOffset DMOutputSequenceLoad PetscDSSetJacobian
DMDAGetOverlap DMPlexCopyCoordinates PetscDSSetResidual
DMDAGetOwnershipRanges DMPlexCopyLabels PetscDSSetRiemannSolver
DMDAGetReducedDMDA DMPlexCreateClosureIndex PetscDSSetType
DMDAGetRefinementFactor DMPlexCreateDefaultReferenceTree PetscDTGaussJacobiQuadrature
DMDA DMPlexCreateGlobalToNaturalSF PetscDTGaussQuadrature
DMDANaturalToGlobalEnd DMPlexCreateLabel PetscDTGaussTensorQuadrature
DMDARestoreCoordinateArray DMPlexCreateReferenceCell PetscDTLegendreEval
DMDARestoreElements DMPlexDistribute PetscDTTanhSinhTensorQuadrature
DMDASetAOType DMPlexEqual PetscDualSpaceGetDimension
DMDASetBoundaryType DMPlexGenerate PetscDualSpaceGetDM
DMDASetCoordinateName DMPlexGetAdjacencyUseAnchors PetscDualSpaceGetFunctional
DMDASetDof DMPlexGetAdjacencyUseClosure PetscDualSpaceGetNumDof
DMDASetElementType DMPlexGetAdjacencyUseCone PetscDualSpaceGetOrder
DMDASetFieldName DMPlexGetAnchors PetscDualSpaceGetType
DMDASetFieldNames DMPlexGetCoarseDM PetscDualSpaceLagrangeGetContinuity
DMDASetInterpolationType DMPlexGetFullJoin PETSCDUALSPACELAGRANGE
DMDASetNonOverlappingRegion DMPlexGetFullMeet PetscDualSpaceLagrangeSetContinuity
DMDASetNumLocalSubDomains DMPlexGetJoin PetscDualSpaceSetDM
DMDASetNumProcs DMPlexGetLabelByNum PetscDualSpaceSetOrder
DMDASetOffset DMPlexGetLabel PetscDualSpaceSetType
DMDASetOverlap DMPlexGetLabelName PETSCDUALSPACESIMPLE
DMDASetOwnershipRanges DMPlexGetMaxProjectionHeight PetscDualSpaceSimpleSetDimension
DMDASetRefinementFactor DMPlexGetMeet PetscDualSpaceSimpleSetFunctional
DMDASetSizes DMPlexGetNumBoundary PETSCFEBASIC
DMDASetStencilType DMPlexGetNumLabels PetscFECompositeGetMapping
DMDASetStencilWidth DMPlexGetOrdering PETSCFECOMPOSITE
DMDAVecGetArrayDOF DMPlexGetPointGlobalField PetscFEGetBasisSpace
DMDAVecGetArrayDOFRead DMPlexGetPointGlobal PetscFEGetDimension
DMDAVecGetArray DMPlexGetPointLocalField PetscFEGetDualSpace
DMDAVecGetArrayRead DMPlexGetPointLocal PetscFEGetNumComponents
DMDAVecRestoreArrayDOF DMPlexGetReferenceTree PetscFEGetQuadrature
DMDAVecRestoreArrayDOFRead DMPlexGetTreeChildren PetscFEGetSpatialDimension
DMDAVecRestoreArray DMPlexGetTree PetscFEGetTileSizes
DMDAVecRestoreArrayRead DMPlexGetTreeParent PetscFEGetType
DMGetApplicationContext DMPlexGlobalToNaturalBegin PETSCFENONAFFINE
DMGetBlockSize DMPlexGlobalToNaturalEnd PETSCFEOPENCL
DMGetCoordinateDim DMPlexHasLabel PetscFESetBasisSpace
DMGetCoordinateDM DMPLEX PetscFESetDualSpace
DMGetCoordinateSection DMPlexInterpolate PetscFESetNumComponents
DMGetCoordinates DMPlexMatSetClosure PetscFESetQuadrature
DMGetCoordinatesLocal DMPlexMigrate PetscFESetTileSizes
DMGetDefaultGlobalSection DMPlexNaturalToGlobalBegin PetscFESetType
DMGetDefaultSection DMPlexNaturalToGlobalEnd PetscFVGetType
DMGetDefaultSF DMPlexPermute PETSCFVLEASTSQUARES
DMGetDimPoints DMPlexPointGlobalFieldRead PetscFVLeastSquaresSetMaxFaces
DMGetLocalToGlobalMapping DMPlexPointGlobalFieldRef PetscFVSetDualSpace
DMGetMatType DMPlexPointGlobalRead PetscFVSetType
DMGetOutputDM DMPlexPointGlobalRef PETSCFVUPWIND
DMGetOutputSequenceNumber DMPlexPointLocalFieldRead PetscLimiterGetType
DMGetPointSF DMPlexPointLocalFieldRef PETSCLIMITERMC
DMGetType DMPlexPointLocalRead PETSCLIMITERMINMOD
DMGetVecType DMPlexPointLocalRef PETSCLIMITERNONE
DM DMPlexRestoreJoin PetscLimiterSetType
DMLabelClearValue DMPlexRestoreMeet PETSCLIMITERSIN
DMLabelGetValue DMPlexSetAdjacencyUseAnchors PETSCLIMITERSUPERBEE
DMLabelInsertIS DMPlexSetAdjacencyUseClosure PETSCLIMITERVANALBADA
DMLabelSetValue DMPlexSetAdjacencyUseCone PETSCLIMITERVANLEER
DMLabelStratumHasPoint DMPlexSetAnchors PETSCLIMITERZERO
DMLabelView DMPlexSetCoarseDM PETSCPARTITIONERCHACO
DMLoad DMPlexSetReferenceTree PetscPartitionerGetType
DMLocalToLocalBegin DMPlexSetTree PetscPartitioner
DMLocalToLocalEnd DMPlexUninterpolate PETSCPARTITIONERPARMETIS
DMMoabCreate DMPlexVecGetClosure PetscPartitionerSetType
DMMoabGetDofsBlocked DMPlexVecRestoreClosure PETSCPARTITIONERSHELL
DMMoabGetDofsBlockedLocal DMPlexVecSetClosure PETSCPARTITIONERSIMPLE
DMMoabGetDofs DMREDUNDANT PetscQuadratureExpandComposite
DMMoabGetDofsLocal DMSetApplicationContextDestroy PetscQuadratureGetData
DMMoabGetFieldDofs DMSetApplicationContext PetscQuadratureGetOrder
DMMoabGetFieldDofsLocal DMSetCoordinateDim PetscQuadratureSetData
DMMoabGetFieldName DMSetCoordinateDM PetscQuadratureSetOrder
DMMoabGetVertexDofsBlocked DMSetCoordinateSection PETSCSPACEDG
DMMoabGetVertexDofsBlockedLocal DMSetCoordinates PetscSpaceGetOrder
DMMOAB DMSetCoordinatesLocal PetscSpaceGetType
DMMoabOutput DMSetDefaultGlobalSection PETSCSPACEPOLYNOMIAL
DMMoabSetFieldName DMSetDefaultSection PetscSpaceSetOrder
DMMoabSetFieldNames DMSetDefaultSF PetscSpaceSetType
DMMoabSetFieldVector DMSetMatType VecGetDM
DMMoabSetGlobalFieldVector DMSetOutputSequenceNumber VecSetDM
Advanced - Setting more advanced options and customization
DMCoarsenHookAdd DMGlobalToLocalEndDefaultShell DMShellSetGlobalToLocalVecScatter
DMCompositeAddDM DMGlobalToLocalHookAdd DMShellSetGlobalVector
DMCompositeCreate DMLocalToGlobalBeginDefaultShell DMShellSetLocalToGlobal
DMCompositeGatherArray DMLocalToGlobalEndDefaultShell DMShellSetLocalToGlobalVecScatter
DMCompositeGather DMLocalToGlobalHookAdd DMShellSetLocalToLocal
DMCompositeGetAccessArray DMLocalToLocalBeginDefaultShell DMShellSetLocalToLocalVecScatter
DMCompositeGetAccess DMLocalToLocalEndDefaultShell DMShellSetLocalVector
DMCompositeGetEntriesArray DMPlexComputeCellGeometryAffineFEM DMShellSetMatrix
DMCompositeGetEntries DMPlexComputeCellGeometryFEM DMShellSetRefine
DMCompositeGetGlobalISs DMPlexComputeCellGeometryFVM DMSlicedCreate
DMCompositeGetISLocalToGlobalMappings DMPlexCreateFromDAG DMSlicedSetBlockFills
DMCompositeGetLocalVectors DMPlexCreateRigidBody DMSlicedSetGhosts
DMCompositeRestoreAccessArray DMPlexGetAdjacency DMSlicedSetPreallocation
DMCompositeRestoreAccess DMPlexOrient DMSubDomainHookAdd
DMCompositeRestoreLocalVectors DMPlexReverseCell PetscDSRegisterAll
DMCompositeScatterArray DMPlexSetMaxProjectionHeight PetscDSRegister
DMCompositeScatter DMRedundantCreate PetscDTReconstructPoly
DMCompositeSetCoupling DMRedundantGetSize PetscDualSpaceCreateReferenceCell
DMComputeVariableBounds DMRedundantSetSize PetscDualSpaceGetHeightSubspace
DMDACreate DMRefineHookAdd PetscDualSpaceRegisterAll
DMDACreatePF DMRegisterAll PetscDualSpaceRegister
DMDAGetArray DMRegister PetscFERegisterAll
DMDAGetLogicalCoordinate DMSetDefaultConstraints PetscFERegister
DMDAGetProcessorSubset DMSetOptionsPrefix PetscFVRegisterAll
DMDAGetProcessorSubsets DMShellCreate PetscFVRegister
DMDAGetRay DMShellSetCoarsen PetscLimiterRegisterAll
DMDAGlobalToNaturalAllCreate DMShellSetCreateFieldDecomposition PetscLimiterRegister
DMDAGlobalToNaturalBegin DMShellSetCreateGlobalVector PetscPartitionerRegisterAll
DMDAGlobalToNaturalEnd DMShellSetCreateInjection PetscPartitionerRegister
DMDANaturalAllToGlobalCreate DMShellSetCreateInterpolation PetscSpaceEvaluate
DMDANaturalToGlobalBegin DMShellSetCreateLocalVector PetscSpaceRegisterAll
DMDARestoreArray DMShellSetCreateMatrix PetscSpaceRegister
DMGetDefaultConstraints DMShellSetCreateSubDM
DMGlobalToLocalBeginDefaultShell DMShellSetGlobalToLocal
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMClearGlobalVectors DMPlexCreateSubmesh PetscDSGetAdjacency
DMCoarsenHierarchy DMPlexCreateSubpointIS PetscDSGetImplicit
DMCoarsen DMPlexCreateTwoSidedProcessSF PetscDSInitializePackage
DMCreateColoring DMPlexDerivePointSF PetscDSSetAdjacency
DMCreateDomainDecompositionScatters DMPlexDistributeData PetscDSSetFromOptions
DMCreateInjection DMPlexDistributeField PetscDSSetImplicit
DMCreateInterpolation DMPlexDistributeFieldIS PetscDSSetUp
DMCreateInterpolationScale DMPlexDistributeOwnership PetscDSView
DMDAComputeL2Diff DMPlexFilter PetscDualSpaceApply
DMDAComputeL2GradientDiff DMPlexGetDepth PetscDualSpaceDestroy
DMDAConvertToCell DMPlexGetDepthLabel PetscDualSpaceSetFromOptions
DMDACreateNaturalVector DMPlexGetDepthStratum PetscDualSpaceSetUp
DMDACreatePatchIS DMPlexGetHeightStratum PetscDualSpaceView
DMDACreateSection DMPlexGetHybridBounds PetscFEDestroy
DMDAGetCellPoint DMPlexGetLabelOutput PetscFEFinalizePackage
DMDAGetNumCells DMPlexGetMinRadius PetscFEInitializePackage
DMDAGetPreallocationCenterDimension DMPlexGetPartitioner PetscFEIntegrateBdResidual
DMDAGetScatter DMPlexGetRefinementLimit PetscFEIntegrate
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
DMLabelHasPoint DMPlexSetMinRadius PetscFVSetLimiter
DMLabelHasValue DMPlexSetPartitioner PetscFVSetNumComponents
DMLocatePoints DMPlexSetRefinementLimit PetscFVSetQuadrature
DMMoabSetBlockFills DMPlexSetRefinementUniform PetscFVSetSpatialDimension
DMPlexAddBoundary DMPlexStratifyMigrationSF PetscFVSetUp
DMPlexAddLabel DMPlexTetgenSetOptions PetscFVView
DMPlexCheckFaces DMPlexTriangleSetOptions PetscLimiterDestroy
DMPlexCheckSkeleton DMPlexVTKWriteAll PetscLimiterSetFromOptions
DMPlexCheckSymmetry DMRefineHierarchy PetscLimiterSetUp
DMPlexComputeGeometryFVM DMRefine PetscLimiterView
DMPlexComputeGradientFVM DMRestoreNamedGlobalVector PetscPartitionerDestroy
DMPlexComputeIntegralFEM DMRestoreNamedLocalVector PetscPartitionerPartition
DMPlexComputeInterpolatorFEM DMRestoreWorkArray PetscPartitionerSetFromOptions
DMPlexComputeL2Diff DMRestrict PetscPartitionerSetUp
DMPlexComputeL2FieldDiff DMSetDS PetscPartitionerShellSetPartition
DMPlexComputeL2GradientDiff DMSetField PetscPartitionerView
DMPlexConstructCohesiveCells DMSetFromOptions PetscQuadrature
DMPlexConstructGhostCells DMSetMatrixPreallocateOnly PetscSectionCreateGlobalSectionLabel
DMPlexCreateCoarsePointIS DMSetPeriodicity PetscSpaceDestroy
DMPlexCreateHybridMesh DMSetUp PetscSpaceSetFromOptions
DMPlexCreateOverlap DMSetVec PetscSpaceSetUp
DMPlexCreatePartitionerGraph DMSubDomainRestrict PetscSpaceView
DMPlexCreateProcessSF PetscDSDestroy
DMPlexCreateSection PetscDSFinalizePackage
No deprecated routines

Table of Contents