petsc-master 2014-09-30
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
DMClone DMMoabGetMaterialBlock DMPlexGetStratumSize
DMCompositeGetNumberDM DMMoabGetOffset DMPlexGetSupport
DMCreateGlobalVector DMMoabGetParallelComm DMPlexGetSupportSize
DMCreate DMMoabGetSize DMPlexGetTransitiveClosure
DMCreateLocalVector DMMoabGetVecRange DMPlexGetTransitiveClosure_Internal
DMCreateMatrix DMMoabGetVecTag DMPlexRestoreTransitiveClosure
DMDACreate1d DMMoabGetVertexConnectivity DMPlexSetChart
DMDACreate2d DMMoabGetVertexCoordinates DMPlexSetCone
DMDACreate3d DMMoabIsEntityOnBoundary DMPlexSetConeOrientation
DMDAElementType DMMoabLoadFromFile DMPlexSetConeSize
DMDAGetBoundingBox DMMoabRestoreVertexConnectivity DMPlexSetLabelValue
DMDAGetCorners DMMoabSetBlockSize DMPlexSetSupport
DMDAGetGhostCorners DMMoabSetInterface DMPlexSetSupportSize
DMDAGetInfo DMMoabSetLocalElements DMPlexStratify
DMDAGetLocalBoundingBox DMMoabSetLocalToGlobalTag DMPlexSymmetrize
DMDAGetLocalInfo DMMoabSetLocalVertices DMRestoreGlobalVector
DMDAInterpolationType DMMoabSetParallelComm DMRestoreLocalVector
DMDALocalInfo DMNetworkCreate DMSetDimension
DMDASetUniformCoordinates DMPatchCreate PetscDSAddBdDiscretization
DMDA_STENCIL_BOX DMPlexAddConeSize PetscDSAddDiscretization
DMDA_STENCIL_STAR DMPlexClearLabelStratum PetscDSCreate
DMDAStencilType DMPlexClearLabelValue PetscDSGetBdDiscretization
DMGetDimension DMPlexCreateBoxMesh PetscDSGetBdFieldOffset
DMGetGlobalVector DMPlexCreateCGNS PetscDSGetDiscretization
DMGetLocalVector DMPlexCreateCubeBoundary PetscDSGetFieldOffset
DMGlobalToLocalBegin DMPlexCreateDoublet PetscDSGetNumFields
DMGlobalToLocalEnd DMPlexCreateExodus PetscDSGetSpatialDimension
DMLocalToGlobalBegin DMPlexCreateFromCellList PetscDSGetTotalBdDimension
DMLocalToGlobalEnd DMPlexCreateGmsh PetscDSGetTotalComponents
DMMoabCreateBoxMesh DMPlexCreateHexBoxMesh PetscDSGetTotalDimension
DMMoabCreateVector DMPlexCreate PetscDSSetBdDiscretization
DMMoabGetAllVertices DMPlexCreateSquareBoundary PetscDSSetDiscretization
DMMoabGetBlockSize DMPlexCreateSquareMesh PetscDualSpaceCreate
DMMoabGetBoundaryMarkers DMPlexGetChart PetscDualSpaceDuplicate
DMMoabGetDimension DMPlexGetCone PetscFECreateDefault
DMMoabGetElementConnectivity DMPlexGetConeOrientation PetscFECreate
DMMoabGetFieldDof DMPlexGetConeSize PetscFVCreate
DMMoabGetInterface DMPlexGetLabelIdIS PetscLimiterCreate
DMMoabGetLocalElements DMPlexGetLabelSize PetscQuadratureCreate
DMMoabGetLocalSize DMPlexGetLabelValue PetscQuadratureDestroy
DMMoabGetLocalToGlobalTag DMPlexGetMaxSizes PetscQuadratureView
DMMoabGetLocalVertices DMPlexGetStratumIS PetscSpaceCreate
Intermediate - Setting options for algorithms and data structures
DMCompositeGetLocalISs DMMoabSetFieldName DMSetDefaultSection
DMCOMPOSITE DMMoabSetFieldNames DMSetDefaultSF
DMComputeVariableBounds DMMoabSetFieldVector DMSetMatType
DMConvert DMMoabSetGlobalFieldVector DMSetOutputSequenceNumber
DMCreateAggregates DMMoabVecGetArray DMSetPointSF
DMCreateDefaultSF DMMoabVecGetArrayRead DMSetType
DMCreateDomainDecomposition DMMoabVecRestoreArray DMSetVariableBounds
DMCreateFieldDecomposition DMNetworkAddComponent DMSetVecType
DMCreateFieldIS DMNetworkAddNumVariables DMSLICED
DMCreateSubDM DMNetworkDistribute MatCreateSeqUSFFT
DMDACoor2d DMNetworkGetComponentDataArray MatGetDM
DMDACoor3d DMNetworkGetComponentTypeOffset MATHYPRESSTRUCT
DMDAGetAO DMNetworkGetConnectedNodes MATHYPRESTRUCT
DMDAGetCoordinateName DMNetworkGetEdgeRange MatSetDM
DMDAGetElements DMNetworkGetNumComponents MatSetupDM
DMDAGetElementType DMNetworkGetSupportingEdges PETSCDSBASIC
DMDAGetFieldName DMNetworkGetVariableGlobalOffset PetscDSGetBdTabulation
DMDAGetInterpolationType DMNetworkGetVariableOffset PetscDSGetRiemannSolver
DMDAGetNeighbors DMNetworkGetVertexRange PetscDSGetTabulation
DMDAGetNonOverlappingRegion DMNETWORK PetscDSGetType
DMDAGetNumLocalSubDomains DMNetworkIsGhostVertex PetscDSSetRiemannSolver
DMDAGetOffset DMNetworkLayoutSetUp PetscDSSetType
DMDAGetOverlap DMNetworkRegisterComponent PetscDTGaussJacobiQuadrature
DMDAGetOwnershipRanges DMNetworkSetEdgeList PetscDTGaussQuadrature
DMDAGetReducedDMDA DMNetworkSetNumVariables PetscDTGaussTensorQuadrature
DMDAGetRefinementFactor DMNetworkSetSizes PetscDTLegendreEval
DMDA DMOutputSequenceLoad PetscDualSpaceGetDimension
DMDANaturalToGlobalEnd DMPlexCopyCoordinates PetscDualSpaceGetDM
DMDARestoreElements DMPlexCopyLabels PetscDualSpaceGetFunctional
DMDASetBoundaryType DMPlexCreateClosureIndex PetscDualSpaceGetNumDof
DMDASetCoordinateName DMPlexCreateDefaultReferenceTree PetscDualSpaceGetOrder
DMDASetDof DMPlexCreateLabel PetscDualSpaceGetType
DMDASetElementType DMPlexCreateReferenceCell PetscDualSpaceLagrangeGetContinuity
DMDASetFieldName DMPlexDistribute PETSCDUALSPACELAGRANGE
DMDASetInterpolationType DMPlexEqual PetscDualSpaceLagrangeSetContinuity
DMDASetNonOverlappingRegion DMPlexGenerate PetscDualSpaceSetDM
DMDASetNumLocalSubDomains DMPlexGetAdjacencyUseAnchors PetscDualSpaceSetOrder
DMDASetNumProcs DMPlexGetAdjacencyUseClosure PetscDualSpaceSetType
DMDASetOffset DMPlexGetAdjacencyUseCone PETSCDUALSPACESIMPLE
DMDASetOverlap DMPlexGetAnchors PetscDualSpaceSimpleSetDimension
DMDASetOwnershipRanges DMPlexGetCoarseDM PetscDualSpaceSimpleSetFunctional
DMDASetRefinementFactor DMPlexGetFullJoin PetscDualSpaceViewFromOptions
DMDASetSizes DMPlexGetFullMeet PETSCFEBASIC
DMDASetStencilType DMPlexGetJoin PETSCFECOMPOSITE
DMDASetStencilWidth DMPlexGetLabel PetscFEGetBasisSpace
DMDAVecGetArrayDOF DMPlexGetLabelName PetscFEGetDimension
DMDAVecGetArray DMPlexGetMeet PetscFEGetDualSpace
DMDAVecRestoreArrayDOF DMPlexGetNumLabels PetscFEGetNumComponents
DMDAVecRestoreArray DMPlexGetOrdering PetscFEGetQuadrature
DMGetApplicationContext DMPlexGetPointGlobal PetscFEGetSpatialDimension
DMGetBlockSize DMPlexGetPointLocal PetscFEGetTileSizes
DMGetCoordinateDim DMPlexGetReferenceTree PetscFEGetType
DMGetCoordinateDM DMPlexGetTreeChildren PETSCFENONAFFINE
DMGetCoordinateSection DMPlexGetTree PETSCFEOPENCL
DMGetCoordinates DMPlexGetTreeParent PetscFESetBasisSpace
DMGetCoordinatesLocal DMPlexHasLabel PetscFESetDualSpace
DMGetDefaultGlobalSection DMPLEX PetscFESetNumComponents
DMGetDefaultSection DMPlexInterpolate PetscFESetQuadrature
DMGetDefaultSF DMPlexMatSetClosure PetscFESetTileSizes
DMGetDimPoints DMPlexPermute PetscFESetType
DMGetLocalToGlobalMapping DMPlexPointGlobalRead PetscFVGetType
DMGetMatType DMPlexPointGlobalRef PETSCFVLEASTSQUARES
DMGetOutputDM DMPlexPointLocalRead PetscFVLeastSquaresSetMaxFaces
DMGetOutputSequenceNumber DMPlexPointLocalRef PetscFVSetType
DMGetPointSF DMPlexRestoreJoin PETSCFVUPWIND
DMGetType DMPlexRestoreMeet PetscLimiterGetType
DMGetVecType DMPlexSetAdjacencyUseAnchors PETSCLIMITERMC
DMLabelClearValue DMPlexSetAdjacencyUseClosure PETSCLIMITERMINMOD
DMLabelGetValue DMPlexSetAdjacencyUseCone PETSCLIMITERNONE
DMLabelSetValue DMPlexSetAnchors PetscLimiterSetType
DMLabelStratumHasPoint DMPlexSetCoarseDM PETSCLIMITERSIN
DMLoad DMPlexSetReferenceTree PETSCLIMITERSUPERBEE
DMLocalToLocalBegin DMPlexSetTree PETSCLIMITERVANALBADA
DMLocalToLocalEnd DMPlexUninterpolate PETSCLIMITERVANLEER
DMMoabCreate DMPlexVecGetClosure PETSCLIMITERZERO
DMMoabGetDofsBlocked DMPlexVecRestoreClosure PetscQuadratureGetData
DMMoabGetDofsBlockedLocal DMPlexVecSetClosure PetscQuadratureGetOrder
DMMoabGetDofs DMREDUNDANT PetscQuadratureSetData
DMMoabGetDofsLocal DMSetApplicationContextDestroy PetscQuadratureSetOrder
DMMoabGetFieldDofs DMSetApplicationContext PETSCSPACEDG
DMMoabGetFieldDofsLocal DMSetCoordinateDim PetscSpaceGetType
DMMoabGetFieldName DMSetCoordinateDM PETSCSPACEPOLYNOMIAL
DMMoabGetVertexDofsBlocked DMSetCoordinateSection PetscSpaceSetType
DMMoabGetVertexDofsBlockedLocal DMSetCoordinates VecGetDM
DMMOAB DMSetCoordinatesLocal VecSetDM
DMMoabOutput DMSetDefaultGlobalSection
Advanced - Setting more advanced options and customization
DMCoarsenHookAdd DMDANaturalToGlobalBegin DMShellSetGlobalToLocal
DMCompositeAddDM DMDARestoreArray DMShellSetGlobalToLocalVecScatter
DMCompositeCreate DMGetDefaultConstraints DMShellSetGlobalVector
DMCompositeGatherArray DMGlobalToLocalBeginDefaultShell DMShellSetLocalToGlobal
DMCompositeGather DMGlobalToLocalEndDefaultShell DMShellSetLocalToGlobalVecScatter
DMCompositeGetAccessArray DMGlobalToLocalHookAdd DMShellSetLocalToLocal
DMCompositeGetAccess DMLocalToGlobalBeginDefaultShell DMShellSetLocalToLocalVecScatter
DMCompositeGetEntriesArray DMLocalToGlobalEndDefaultShell DMShellSetLocalVector
DMCompositeGetEntries DMLocalToGlobalHookAdd DMShellSetMatrix
DMCompositeGetGlobalISs DMLocalToLocalBeginDefaultShell DMSlicedCreate
DMCompositeGetISLocalToGlobalMappings DMLocalToLocalEndDefaultShell DMSlicedSetBlockFills
DMCompositeGetLocalVectors DMPlexComputeCellGeometryAffineFEM DMSlicedSetGhosts
DMCompositeRestoreAccessArray DMPlexComputeCellGeometryFEM DMSlicedSetPreallocation
DMCompositeRestoreAccess DMPlexComputeCellGeometryFVM DMSubDomainHookAdd
DMCompositeRestoreLocalVectors DMPlexCreateFromDAG PetscDSRegisterAll
DMCompositeScatterArray DMPlexCreateRigidBody PetscDSRegister
DMCompositeScatter DMPlexGetAdjacency PetscDTReconstructPoly
DMCompositeSetCoupling DMRedundantCreate PetscDualSpaceCreateReferenceCell
DMDACreate DMRedundantGetSize PetscDualSpaceRegisterAll
DMDACreatePF DMRedundantSetSize PetscDualSpaceRegister
DMDAGetArray DMRefineHookAdd PetscFERegisterAll
DMDAGetLogicalCoordinate DMRegisterAll PetscFERegister
DMDAGetProcessorSubset DMRegister PetscFVRegisterAll
DMDAGetProcessorSubsets DMSetDefaultConstraints PetscFVRegister
DMDAGetRay DMSetOptionsPrefix PetscLimiterRegisterAll
DMDAGlobalToNaturalAllCreate DMShellCreate PetscLimiterRegister
DMDAGlobalToNaturalBegin DMShellSetCreateGlobalVector PetscSpaceEvaluate
DMDAGlobalToNaturalEnd DMShellSetCreateLocalVector PetscSpaceRegisterAll
DMDANaturalAllToGlobalCreate DMShellSetCreateMatrix PetscSpaceRegister
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMClearGlobalVectors DMPlexComputeL2FieldDiff PetscDSInitializePackage
DMCoarsenHierarchy DMPlexComputeL2GradientDiff PetscDSSetFromOptions
DMCoarsen DMPlexConstructCohesiveCells PetscDSSetUp
DMCreateColoring DMPlexConstructGhostCells PetscDSView
DMCreateDomainDecompositionScatters DMPlexCreateCoarsePointIS PetscDualSpaceApply
DMCreateInjection DMPlexCreateHybridMesh PetscDualSpaceDestroy
DMCreateInterpolation DMPlexCreateSection PetscDualSpaceSetFromOptions
DMCreateInterpolationScale DMPlexCreateSubmesh PetscDualSpaceSetUp
DMDAComputeL2Diff DMPlexCreateSubpointIS PetscDualSpaceView
DMDAComputeL2GradientDiff DMPlexDistributeData PetscFEDestroy
DMDAConvertToCell DMPlexDistributeField PetscFEFinalizePackage
DMDACreateNaturalVector DMPlexGetDepth PetscFEInitializePackage
DMDACreatePatchIS DMPlexGetDepthLabel PetscFEIntegrateBdResidual
DMDACreateSection DMPlexGetDepthStratum PetscFEIntegrate
DMDAGetCellPoint DMPlexGetHeightStratum PetscFEIntegrateResidual
DMDAGetNumCells DMPlexGetHybridBounds PetscFERefine
DMDAGetPreallocationCenterDimension DMPlexGetMinRadius PetscFESetFromOptions
DMDAGetScatter DMPlexGetRefinementLimit PetscFESetUp
DMDAProjectFunction DMPlexGetRefinementUniform PetscFEView
DMDASetBlockFills DMPlexGetSubpointMap PetscFVComputeGradient
DMDASetGetMatrix DMPlexInvertCell PetscFVDestroy
DMDASetPreallocationCenterDimension DMPlexLabelAddCells PetscFVFinalizePackage
DMDAVTKWriteAll DMPlexLabelCohesiveComplete PetscFVGetComputeGradients
DMDestroy DMPlexLabelComplete PetscFVGetLimiter
DMFinalizePackage DMPlexMarkBoundaryFaces PetscFVGetNumComponents
DMGetCoarsenLevel DMPlexReferenceTreeGetChildSymmetry PetscFVGetQuadrature
DMGetDS DMPlexRemoveLabel PetscFVGetSpatialDimension
DMGetField DMPlexSetHybridBounds PetscFVInitializePackage
DMGetNamedGlobalVector DMPlexSetMinRadius PetscFVSetComputeGradients
DMGetNamedLocalVector DMPlexSetRefinementLimit PetscFVSetFromOptions
DMGetRefineLevel DMPlexSetRefinementUniform PetscFVSetLimiter
DMGetWorkArray DMPlexVTKWriteAll PetscFVSetNumComponents
DMHasColoring DMRefineHierarchy PetscFVSetQuadrature
DMHasVariableBounds DMRefine PetscFVSetSpatialDimension
DMInitializePackage DMRestoreNamedGlobalVector PetscFVSetUp
DMInterpolate DMRestoreNamedLocalVector PetscFVView
DMLabelHasPoint DMRestoreWorkArray PetscLimiterDestroy
DMLabelHasValue DMRestrict PetscLimiterSetFromOptions
DMLocatePoints DMSetDS PetscLimiterSetUp
DMMoabSetBlockFills DMSetField PetscLimiterView
DMPlexAddLabel DMSetFromOptions PetscQuadrature
DMPlexCheckFaces DMSetMatrixPreallocateOnly PetscSectionCreateGlobalSectionLabel
DMPlexCheckSkeleton DMSetUp PetscSpaceDestroy
DMPlexCheckSymmetry DMSetVec PetscSpaceSetFromOptions
DMPlexComputeGradientFVM DMSubDomainRestrict PetscSpaceSetUp
DMPlexComputeIntegralFEM DMView PetscSpaceView
DMPlexComputeInterpolatorFEM PetscDSDestroy
DMPlexComputeL2Diff PetscDSFinalizePackage
No deprecated routines

Table of Contents