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

Table of Contents