PETSc version 3.16.4

DMPLEX Examples

The DMPLEX class encapsulates an unstructured mesh, with interfaces for both topology and geometry. It is capable of parallel refinement and coarsening (using Pragmatic) and parallel redistribution for load balancing. It is designed to interface with the PetscFE and PetscFV trial discretization objects.

Beginner - Basic usage
DMPlexAddConeSize DMPlexCreateGmshFromFile DMPlexInsertSupport
DMPlexComputeGeometryFEM DMPlexCreateHexCylinderMesh DMPlexRestoreTransitiveClosure
DMPlexCreate DMPlexCreateMedFromFile DMPlexSetChart
DMPlexCreateBallMesh DMPlexCreatePLYFromFile DMPlexSetCone
DMPlexCreateBoxMesh DMPlexCreateSphereMesh DMPlexSetConeOrientation
DMPlexCreateBoxSurfaceMesh DMPlexCreateWedgeBoxMesh DMPlexSetConeSize
DMPlexCreateCGNS DMPlexCreateWedgeCylinderMesh DMPlexSetSupport
DMPlexCreateCellVertexFromFile DMPlexGetChart DMPlexSetSupportSize
DMPlexCreateDoublet DMPlexGetCone DMPlexStratify
DMPlexCreateEGADSFromFile DMPlexGetConeOrientation DMPlexSymmetrize
DMPlexCreateEGADSLiteFromFile DMPlexGetConeSize DMPlexTransformCreate
DMPlexCreateExodus DMPlexGetMaxSizes DMPlexTransformDestroy
DMPlexCreateExodusFromFile DMPlexGetSupport DMPlexTransformView
DMPlexCreateFluent DMPlexGetSupportSize PETSCVIEWEREXODUSII
DMPlexCreateFluentFromFile DMPlexGetTransitiveClosure PetscViewerExodusIIGetOrder
DMPlexCreateFromFile DMPlexInsertCone PetscViewerExodusIIOpen
DMPlexCreateGmsh DMPlexInsertConeOrientation PetscViewerExodusIISetOrder
Intermediate - Setting options for algorithms and data structures
DMGetEnclosurePoint DMPlexGetOverlap DMPlexPointGlobalRef
DMGetEnclosureRelation DMPlexGetPartitionBalance DMPlexPointLocalFieldRead
DMPLEX DMPlexGetPointDepth DMPlexPointLocalFieldRef
DMPlexComputeOrthogonalQuality DMPlexGetPointGlobal DMPlexPointLocalRead
DMPlexCoordinatesToReference DMPlexGetPointGlobalField DMPlexPointLocalRef
DMPlexCopyCoordinates DMPlexGetPointHeight DMPlexRebalanceSharedPoints
DMPlexCreateClosureIndex DMPlexGetPointLocal DMPlexReferenceToCoordinates
DMPlexCreateDefaultReferenceTree DMPlexGetPointLocalField DMPlexRemapGeometry
DMPlexCreateFromCellListParallelPetsc DMPlexGetRedundantDM DMPlexRestoreJoin
DMPlexCreateFromCellListPetsc DMPlexGetReferenceTree DMPlexRestoreMeet
DMPlexCreateGlobalToNaturalSF DMPlexGetRegularRefinement DMPlexSetAdjacencyUseAnchors
DMPlexCreateLabelField DMPlexGetTree DMPlexSetAnchors
DMPlexCreateRankField DMPlexGetTreeChildren DMPlexSetGlobalToNaturalSF
DMPlexCreateReferenceCell DMPlexGetTreeParent DMPlexSetMigrationSF
DMPlexDistribute DMPlexGlobalToNaturalBegin DMPlexSetPartitionBalance
DMPlexEqual DMPlexGlobalToNaturalEnd DMPlexSetReferenceTree
DMPlexFindVertices DMPlexInflateToGeomModel DMPlexSetRegularRefinement
DMPlexGenerate DMPlexInterpolate DMPlexSetTree
DMPlexGetAdjacencyUseAnchors DMPlexIsDistributed DMPlexShearGeometry
DMPlexGetAnchors DMPlexIsInterpolated DMPlexSnapToGeomModel
DMPlexGetCellType DMPlexIsInterpolatedCollective DMPlexTransformGetType
DMPlexGetConeTuple DMPlexIsSimplex DMPlexTransformMapCoordinates
DMPlexGetFullJoin DMPlexMatSetClosure DMPlexTransformSetFromOptions
DMPlexGetFullMeet DMPlexMigrate DMPlexUninterpolate
DMPlexGetGatherDM DMPlexNaturalToGlobalBegin DMPlexVecGetClosure
DMPlexGetGlobalToNaturalSF DMPlexNaturalToGlobalEnd DMPlexVecRestoreClosure
DMPlexGetJoin DMPlexOrientPoint DMPlexVecSetClosure
DMPlexGetMaxProjectionHeight DMPlexPermute DMSetType
DMPlexGetMeet DMPlexPointGlobalFieldRead PetscViewerExodusIIGetId
DMPlexGetMigrationSF DMPlexPointGlobalFieldRef
DMPlexGetOrdering DMPlexPointGlobalRead
Advanced - Setting more advanced options and customization
DMCreateNeumannOverlap DMPlexGenerateRegister DMPlexRestoreClosureIndices
DMPlexBuildCoordinatesFromCellList DMPlexGenerateRegisterAll DMPlexRestoreConeRecursive
DMPlexBuildCoordinatesFromCellListParallel DMPlexGetAdjacency DMPlexSectionLoad
DMPlexBuildFromCellList DMPlexGetAdjacencyUser DMPlexSectionView
DMPlexBuildFromCellListParallel DMPlexGetClosureIndices DMPlexSetAdjacencyUser
DMPlexComputeCellGeometryAffineFEM DMPlexGetConeRecursive DMPlexSetCellType
DMPlexComputeCellGeometryFEM DMPlexGetConeRecursiveVertices DMPlexSetMaxProjectionHeight
DMPlexComputeCellGeometryFVM DMPlexGetGhostCellStratum DMPlexSetOptionsPrefix
DMPlexCoordinatesLoad DMPlexGetScale DMPlexSetScale
DMPlexCoordinatesView DMPlexGlobalVectorLoad DMPlexTopologyLoad
DMPlexCreateCoordinateSpace DMPlexGlobalVectorView DMPlexTopologyView
DMPlexCreateFromDAG DMPlexLabelsLoad DMPlexTransformCellTransform
DMPlexCreateNeighborCSR DMPlexLabelsView DMPlexTransformGetSubcellOrientation
DMPlexCreateRigidBodies DMPlexLocalVectorLoad DMPlexTransformRegister
DMPlexCreateRigidBody DMPlexLocalVectorView DMPlexTransformRegisterAll
DMPlexDistributeOverlap DMPlexOrient
DMPlexExtrude DMPlexPreallocateOperator
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMComputeL2DiffLocal DMPlexFilter DMPlexLabelAddFaceCells
DMPlexCheckCellShape DMPlexGetActivePoint DMPlexLabelClearCells
DMPlexCheckFaces DMPlexGetCellFields DMPlexLabelCohesiveComplete
DMPlexCheckGeometry DMPlexGetCellNumbering DMPlexLabelComplete
DMPlexCheckInterfaceCones DMPlexGetCellTypeLabel DMPlexLocalToGlobalBasis
DMPlexCheckPointSF DMPlexGetConeOrientations DMPlexMarkBoundaryFaces
DMPlexCheckSkeleton DMPlexGetConeSection DMPlexMonitorThroughput
DMPlexCheckSymmetry DMPlexGetCones DMPlexPartitionLabelAdjacency
DMPlexComputeBdIntegral DMPlexGetDataFVM DMPlexPartitionLabelClosure
DMPlexComputeCellTypes DMPlexGetDepth DMPlexPartitionLabelCreateSF
DMPlexComputeCellwiseIntegralFEM DMPlexGetDepthLabel DMPlexPartitionLabelInvert
DMPlexComputeGeometryFVM DMPlexGetDepthStratum DMPlexPartitionLabelPropagate
DMPlexComputeGradientClementInterpolant DMPlexGetFaceFields DMPlexReconstructGradientsFVM
DMPlexComputeGradientFVM DMPlexGetFaceGeometry DMPlexReferenceTreeGetChildSymmetry
DMPlexComputeInjectorFEM DMPlexGetGeometryFVM DMPlexRefineRegularGetAffineFaceTransforms
DMPlexComputeIntegralFEM DMPlexGetGradientDM DMPlexRefineRegularGetAffineTransforms
DMPlexComputeInterpolatorGeneral DMPlexGetHeightStratum DMPlexReorderCell
DMPlexComputeInterpolatorNested DMPlexGetMinRadius DMPlexRestoreCellFields
DMPlexComputeL2DiffVec DMPlexGetNumFaceVertices DMPlexRestoreFaceFields
DMPlexComputeMassMatrixGeneral DMPlexGetOrientedFace DMPlexRestoreFaceGeometry
DMPlexComputeProjection2Dto1D DMPlexGetPartitioner DMPlexRewriteSF
DMPlexComputeProjection3Dto1D DMPlexGetRefinementFunction DMPlexSetActivePoint
DMPlexComputeProjection3Dto2D DMPlexGetRefinementLimit DMPlexSetClosurePermutationTensor
DMPlexConstructCohesiveCells DMPlexGetRefinementUniform DMPlexSetMinRadius
DMPlexConstructGhostCells DMPlexGetSimplexOrBoxCells DMPlexSetPartitioner
DMPlexCreateBasisRotation DMPlexGetSubdomainSection DMPlexSetRefinementFunction
DMPlexCreateCoarsePointIS DMPlexGetSubpointIS DMPlexSetRefinementLimit
DMPlexCreateCohesiveSubmesh DMPlexGetSubpointMap DMPlexSetRefinementUniform
DMPlexCreateHybridMesh DMPlexGetSupportSection DMPlexSetSubpointMap
DMPlexCreateOverlapLabel DMPlexGetTransformType DMPlexSetTransformType
DMPlexCreateOverlapMigrationSF DMPlexGetVTKCellHeight DMPlexSetVTKCellHeight
DMPlexCreatePartitionerGraph DMPlexGetVertexNumbering DMPlexStratifyMigrationSF
DMPlexCreatePointNumbering DMPlexGlobalToLocalBasis DMPlexTetgenSetOptions
DMPlexCreatePointSF DMPlexInsertBoundaryValues DMPlexTransferVecTree
DMPlexCreateProcessSF DMPlexInsertBoundaryValuesEssential DMPlexTransformGetSourcePoint
DMPlexCreateSection DMPlexInsertBoundaryValuesEssentialBdField DMPlexTransformGetTargetPoint
DMPlexCreateSubmesh DMPlexInsertBoundaryValuesEssentialField DMPlexTransformRegisterDestroy
DMPlexCreateTwoSidedProcessSF DMPlexInsertBoundaryValuesRiemann DMPlexTriangleSetOptions
DMPlexDistributeData DMPlexInsertTimeDerivativeBoundaryValues DMPlexVTKWriteAll
DMPlexDistributeField DMPlexInterpolatePointSF PetscPartitionerDMPlexPartition
DMPlexDistributeFieldIS DMPlexInvertCell
DMPlexDistributeOwnership DMPlexLabelAddCells
Deprecated - Functionality scheduled for removal in future versions
DMPlexCreateFromCellList DMPlexCreateFromCellListParallel

Table of Contents