petsc-dev 2014-04-22
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
DMCircuitCreate DMMoabCreateVector DMPlexGetConeSize
DMClone DMMoabGetBlockSize DMPlexGetDimension
DMCompositeGetNumberDM DMMoabGetInterface DMPlexGetLabelIdIS
DMCreateGlobalVector DMMoabGetLocalToGlobalTag DMPlexGetLabelSize
DMCreate DMMoabGetParallelComm DMPlexGetLabelValue
DMCreateLocalVector DMMoabGetRange DMPlexGetMaxSizes
DMCreateMatrix DMMoabGetVecRange DMPlexGetStratumIS
DMDACreate1d DMMoabGetVecTag DMPlexGetStratumSize
DMDACreate2d DMMoabSetBlockSize DMPlexGetSupport
DMDACreate3d DMMoabSetInterface DMPlexGetSupportSize
DMDAElementType DMMoabSetLocalToGlobalTag DMPlexGetTransitiveClosure
DMDAGetBoundingBox DMMoabSetParallelComm DMPlexGetTransitiveClosure_Internal
DMDAGetCorners DMMoabSetRange DMPlexRestoreTransitiveClosure
DMDAGetGhostCorners DMPatchCreate DMPlexSetChart
DMDAGetInfo DMPlexClearLabelStratum DMPlexSetCone
DMDAGetLocalBoundingBox DMPlexClearLabelValue DMPlexSetConeOrientation
DMDAGetLocalInfo DMPlexCreateBoxMesh DMPlexSetConeSize
DMDAInterpolationType DMPlexCreateCGNS DMPlexSetDimension
DMDALocalInfo DMPlexCreateCubeBoundary DMPlexSetLabelValue
DMDASetUniformCoordinates DMPlexCreateDoublet DMPlexSetSupport
DMDA_STENCIL_BOX DMPlexCreateExodus DMPlexSetSupportSize
DMDA_STENCIL_STAR DMPlexCreateFromCellList DMPlexStratify
DMDAStencilType DMPlexCreateGmsh DMPlexSymmetrize
DMGetGlobalVector DMPlexCreateHexBoxMesh DMRestoreGlobalVector
DMGetLocalVector DMPlexCreate DMRestoreLocalVector
DMGlobalToLocalBegin DMPlexCreateSquareBoundary PetscDualSpaceCreate
DMGlobalToLocalEnd DMPlexCreateSquareMesh PetscFECreate
DMLocalToGlobalBegin DMPlexGetChart PetscSpaceCreate
DMLocalToGlobalEnd DMPlexGetCone
DMMoabCreate DMPlexGetConeOrientation
Intermediate - Setting options for algorithms and data structures
DMCircuitAddComponent DMDASetNonOverlappingRegion DMPlexInterpolate
DMCircuitAddNumVariables DMDASetNumLocalSubDomains DMPlexMatSetClosure
DMCircuitDistribute DMDASetNumProcs DMPlexPermute
DMCircuitGetComponentDataArray DMDASetOffset DMPlexPointGlobalRead
DMCircuitGetComponentTypeOffset DMDASetOverlap DMPlexPointGlobalRef
DMCircuitGetConnectedNodes DMDASetOwnershipRanges DMPlexPointLocalRead
DMCircuitGetEdgeRange DMDASetRefinementFactor DMPlexPointLocalRef
DMCircuitGetNumComponents DMDASetSizes DMPlexRestoreJoin
DMCircuitGetSupportingEdges DMDASetStencilType DMPlexRestoreMeet
DMCircuitGetVariableGlobalOffset DMDASetStencilWidth DMPlexSetAdjacencyUseClosure
DMCircuitGetVariableOffset DMDAVecGetArrayDOF DMPlexSetAdjacencyUseCone
DMCircuitGetVertexRange DMDAVecGetArray DMPlexSetCoarseDM
DMCIRCUIT DMDAVecRestoreArrayDOF DMPlexUninterpolate
DMCircuitIsGhostVertex DMDAVecRestoreArray DMPlexVecGetClosure
DMCircuitLayoutSetUp DMGetApplicationContext DMPlexVecRestoreClosure
DMCircuitRegisterComponent DMGetBlockSize DMPlexVecSetClosure
DMCircuitSetEdgeList DMGetCoordinateDM DMREDUNDANT
DMCircuitSetNumVariables DMGetCoordinateSection DMSetApplicationContextDestroy
DMCircuitSetSizes DMGetCoordinates DMSetApplicationContext
DMCompositeGetLocalISs DMGetCoordinatesLocal DMSetCoordinateDM
DMCOMPOSITE DMGetDefaultGlobalSection DMSetCoordinateSection
DMComputeVariableBounds DMGetDefaultSection DMSetCoordinates
DMConvert DMGetDefaultSF DMSetCoordinatesLocal
DMCreateAggregates DMGetLocalToGlobalMappingBlock DMSetDefaultGlobalSection
DMCreateDefaultSF DMGetLocalToGlobalMapping DMSetDefaultSection
DMCreateDomainDecomposition DMGetMatType DMSetDefaultSF
DMCreateFieldDecomposition DMGetOutputDM DMSetMatType
DMCreateFieldIS DMGetOutputSequenceNumber DMSetOutputSequenceNumber
DMCreateSubDM DMGetPointSF DMSetPointSF
DMDACoor2d DMGetType DMSetType
DMDACoor3d DMGetVecType DMSetVariableBounds
DMDAGetAO DMLabelClearValue DMSetVecType
DMDAGetCoordinateName DMLabelGetValue DMSLICED
DMDAGetElements DMLabelSetValue MatCreateSeqUSFFT
DMDAGetElementType DMLoad MatGetDM
DMDAGetFieldName DMLocalToLocalBegin MATHYPRESSTRUCT
DMDAGetGlobalIndicesF90 DMLocalToLocalEnd MATHYPRESTRUCT
DMDAGetGlobalIndices DMPlexCopyCoordinates MatSetDM
DMDAGetInterpolationType DMPlexCopyLabels MatSetupDM
DMDAGetNeighbors DMPlexCreateClosureIndex PetscDTGaussJacobiQuadrature
DMDAGetNonOverlappingRegion DMPlexCreateLabel PetscDTGaussQuadrature
DMDAGetNumLocalSubDomains DMPlexDistribute PetscDTGaussTensorQuadrature
DMDAGetOffset DMPlexEqual PetscDTLegendreEval
DMDAGetOverlap DMPlexGenerate PetscDualSpaceGetType
DMDAGetOwnershipRanges DMPlexGetAdjacencyUseClosure PETSCDUALSPACELAGRANGE
DMDAGetReducedDMDA DMPlexGetAdjacencyUseCone PetscDualSpaceSetType
DMDAGetRefinementFactor DMPlexGetCoarseDM PETSCFEBASIC
DMDA DMPlexGetFullJoin PetscFEGetType
DMDANaturalToGlobalEnd DMPlexGetFullMeet PETSCFENONAFFINE
DMDARestoreElements DMPlexGetJoin PETSCFEOPENCL
DMDARestoreGlobalIndicesF90 DMPlexGetLabel PetscFESetType
DMDARestoreGlobalIndices DMPlexGetLabelName PETSCSPACEDG
DMDASetBoundaryType DMPlexGetMeet PetscSpaceGetType
DMDASetCoordinateName DMPlexGetNumLabels PETSCSPACEPOLYNOMIAL
DMDASetDim DMPlexGetOrdering PetscSpaceSetType
DMDASetDof DMPlexGetPointGlobal VecGetDM
DMDASetElementType DMPlexGetPointLocal VecSetDM
DMDASetFieldName DMPlexHasLabel
DMDASetInterpolationType DMPLEX
Advanced - Setting more advanced options and customization
DMCoarsenHookAdd DMDAGlobalToNaturalBegin DMShellSetCreateLocalVector
DMCompositeAddDM DMDAGlobalToNaturalEnd DMShellSetCreateMatrix
DMCompositeCreate DMDANaturalAllToGlobalCreate DMShellSetGlobalToLocal
DMCompositeGatherArray DMDANaturalToGlobalBegin DMShellSetGlobalToLocalVecScatter
DMCompositeGather DMDARestoreArray DMShellSetGlobalVector
DMCompositeGetAccessArray DMGlobalToLocalBeginDefaultShell DMShellSetLocalToGlobal
DMCompositeGetAccess DMGlobalToLocalEndDefaultShell DMShellSetLocalToGlobalVecScatter
DMCompositeGetEntriesArray DMGlobalToLocalHookAdd DMShellSetLocalToLocal
DMCompositeGetEntries DMLocalToGlobalBeginDefaultShell DMShellSetLocalToLocalVecScatter
DMCompositeGetGlobalISs DMLocalToGlobalEndDefaultShell DMShellSetLocalVector
DMCompositeGetISLocalToGlobalMappings DMLocalToLocalBeginDefaultShell DMShellSetMatrix
DMCompositeGetLocalVectors DMLocalToLocalEndDefaultShell DMSlicedCreate
DMCompositeRestoreAccessArray DMPlexComputeCellGeometryFVM DMSlicedSetBlockFills
DMCompositeRestoreAccess DMPlexComputeCellGeometry DMSlicedSetGhosts
DMCompositeRestoreLocalVectors DMPlexCreateFromDAG DMSlicedSetPreallocation
DMCompositeScatterArray DMPlexCreateRigidBody DMSubDomainHookAdd
DMCompositeScatter DMPlexGetAdjacency PetscDTReconstructPoly
DMCompositeSetCoupling DMRedundantCreate PetscDualSpaceCreateReferenceCell
DMDACreate DMRedundantGetSize PetscDualSpaceRegisterAll
DMDACreatePF DMRedundantSetSize PetscDualSpaceRegister
DMDAGetArray DMRefineHookAdd PetscFERegisterAll
DMDAGetLogicalCoordinate DMRegisterAll PetscFERegister
DMDAGetProcessorSubset DMRegister PetscSpaceEvaluate
DMDAGetProcessorSubsets DMSetOptionsPrefix PetscSpaceRegisterAll
DMDAGetRay DMShellCreate PetscSpaceRegister
DMDAGlobalToNaturalAllCreate DMShellSetCreateGlobalVector
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMClearGlobalVectors DMLabelHasValue DMPlexProjectFunction
DMCoarsenHierarchy DMLocatePoints DMPlexRemoveLabel
DMCoarsen DMPlexAddLabel DMPlexSetRefinementLimit
DMCreateColoring DMPlexCheckFaces DMPlexSetRefinementUniform
DMCreateDomainDecompositionScatters DMPlexCheckSkeleton DMPlexVTKWriteAll
DMCreateInjection DMPlexCheckSymmetry DMRefineHierarchy
DMCreateInterpolation DMPlexComputeIFunctionFEM DMRefine
DMCreateInterpolationScale DMPlexComputeInterpolatorFEM DMRestoreNamedGlobalVector
DMDAComputeL2Diff DMPlexComputeJacobianActionFEM DMRestoreNamedLocalVector
DMDAComputeL2GradientDiff DMPlexComputeJacobianFEM DMRestoreWorkArray
DMDAConvertToCell DMPlexComputeL2Diff DMRestrict
DMDACreateNaturalVector DMPlexComputeL2GradientDiff DMSetFromOptions
DMDACreatePatchIS DMPlexComputeResidualFEM DMSetMatrixPreallocateOnly
DMDACreateSection DMPlexConstructCohesiveCells DMSetUp
DMDAGetCellPoint DMPlexConstructGhostCells DMSetVec
DMDAGetNumCells DMPlexCreateCoarsePointIS DMSubDomainRestrict
DMDAGetPreallocationCenterDimension DMPlexCreateHybridMesh DMView
DMDAGetScatter DMPlexCreateSection PetscDualSpaceApply
DMDAProjectFunction DMPlexCreateSubmesh PetscDualSpaceDestroy
DMDASetBlockFills DMPlexCreateSubpointIS PetscDualSpaceSetFromOptions
DMDASetGetMatrix DMPlexDistributeData PetscDualSpaceSetUp
DMDASetPreallocationCenterDimension DMPlexDistributeField PetscDualSpaceView
DMDAVTKWriteAll DMPlexGetDepth PetscFEDestroy
DMDestroy DMPlexGetDepthLabel PetscFEFinalizePackage
DMFinalizePackage DMPlexGetDepthStratum PetscFEInitializePackage
DMGetCoarsenLevel DMPlexGetHeightStratum PetscFESetFromOptions
DMGetNamedGlobalVector DMPlexGetHybridBounds PetscFESetUp
DMGetNamedLocalVector DMPlexGetRefinementLimit PetscFEView
DMGetRefineLevel DMPlexGetRefinementUniform PetscQuadrature
DMGetWorkArray DMPlexGetSubpointMap PetscSectionCreateGlobalSectionLabel
DMHasColoring DMPlexInvertCell PetscSpaceDestroy
DMHasVariableBounds DMPlexLabelAddCells PetscSpaceSetFromOptions
DMInitializePackage DMPlexLabelCohesiveComplete PetscSpaceSetUp
DMInterpolate DMPlexLabelComplete PetscSpaceView
DMLabelHasPoint DMPlexMarkBoundaryFaces
No deprecated routines

Table of Contents