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

Table of Contents