petsc-master 2017-02-20
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
DMBoundaryConditionType DMMoabGetLocalSize PetscDSGetDimensions
DMBoundaryType DMMoabGetLocalToGlobalTag PetscDSGetDiscretization
DMClearLabelStratum DMMoabGetLocalVertices PetscDSGetFieldIndex
DMClearLabelValue DMMoabGetMaterialBlock PetscDSGetFieldOffset
DMClone DMMoabGetOffset PetscDSGetFieldSize
DMCompositeGetNumberDM DMMoabGetParallelComm PetscDSGetNumFields
DMCreate DMMoabGetSize PetscDSGetSpatialDimension
DMCreateGlobalVector DMMoabGetVecRange PetscDSGetTotalComponents
DMCreateLocalVector DMMoabGetVecTag PetscDSGetTotalDimension
DMCreateMatrix DMMoabGetVertexConnectivity PetscDSSetDiscretization
DMGetDimension DMMoabGetVertexCoordinates PetscDSType
DMGetGlobalVector DMMoabIsEntityOnBoundary PetscDualSpaceCreate
DMGetLabelIdIS DMMoabLoadFromFile PetscDualSpaceDuplicate
DMGetLabelSize DMMoabRestoreVertexConnectivity PetscDualSpaceType
DMGetLabelValue DMMoabSetBlockSize PetscFECreate
DMGetLocalVector DMMoabSetInterface PetscFECreateDefault
DMGetNeighbors DMMoabSetLocalElements PetscFEType
DMGetStratumIS DMMoabSetLocalToGlobalTag PetscFVCellGeom
DMGetStratumSize DMMoabSetLocalVertices PetscFVCreate
DMGetUseNatural DMMoabSetParallelComm PetscFVFaceGeom
DMGlobalToLocalBegin DMPointLocationType PetscFVType
DMGlobalToLocalEnd DMRestoreGlobalVector PetscLimiterCreate
DMLocalToGlobalBegin DMRestoreLocalVector PetscLimiterType
DMLocalToGlobalEnd DMSetDimension PetscPartitionerType
DMMoabCreateBoxMesh DMSetLabelValue PetscQuadratureCreate
DMMoabCreateVector DMSetUseNatural PetscQuadratureDestroy
DMMoabGetAllVertices DMType PetscQuadratureDuplicate
DMMoabGetBlockSize DMView PetscQuadratureView
DMMoabGetBoundaryMarkers PetscDSAddDiscretization PetscSpaceCreate
DMMoabGetDimension PetscDSCreate PetscSpacePolynomialGetTensor
DMMoabGetElementConnectivity PetscDSGetComponentDerivativeOffsets PetscSpacePolynomialSetTensor
DMMoabGetFieldDof PetscDSGetComponentOffset PetscSpaceType
DMMoabGetInterface PetscDSGetComponentOffsets PetscUnit
DMMoabGetLocalElements PetscDSGetComponents
Intermediate - Setting options for algorithms and data structures
DM DMSLICED PetscDTGaussJacobiQuadrature
DMAdaptLabel DMSetApplicationContext PetscDTGaussQuadrature
DMCOMPOSITE DMSetApplicationContextDestroy PetscDTGaussTensorQuadrature
DMCompositeGetLocalISs DMSetCoarseDM PetscDTLegendreEval
DMConvert DMSetCoordinateDM PetscDTTanhSinhTensorQuadrature
DMCopyLabels DMSetCoordinateDim PetscDualSpace
DMCreateAggregates DMSetCoordinateSection PetscDualSpaceGetDM
DMCreateDefaultSF DMSetCoordinates PetscDualSpaceGetDimension
DMCreateDomainDecomposition DMSetCoordinatesLocal PetscDualSpaceGetFunctional
DMCreateFieldDecomposition DMSetDefaultGlobalSection PetscDualSpaceGetNumDof
DMCreateFieldIS DMSetDefaultSF PetscDualSpaceGetOrder
DMCreateLabel DMSetDefaultSection PetscDualSpaceGetType
DMCreateSubDM DMSetFineDM PetscDualSpaceLagrangeGetContinuity
DMGetApplicationContext DMSetMatType PetscDualSpaceLagrangeGetTensor
DMGetBlockSize DMSetOutputSequenceNumber PetscDualSpaceLagrangeSetContinuity
DMGetCoarseDM DMSetPointSF PetscDualSpaceLagrangeSetTensor
DMGetCoordinateDM DMSetType PetscDualSpaceSetDM
DMGetCoordinateDim DMSetVariableBounds PetscDualSpaceSetOrder
DMGetCoordinateSection DMSetVecType PetscDualSpaceSetType
DMGetCoordinates MatGetDM PetscDualSpaceSimpleSetDimension
DMGetCoordinatesLocal MatSetDM PetscDualSpaceSimpleSetFunctional
DMGetDefaultGlobalSection PETSCDSBASIC PetscFE
DMGetDefaultSF PETSCDUALSPACELAGRANGE PetscFECompositeGetMapping
DMGetDefaultSection PETSCDUALSPACESIMPLE PetscFEGetBasisSpace
DMGetDimPoints PETSCFEBASIC PetscFEGetDefaultTabulation
DMGetFineDM PETSCFECOMPOSITE PetscFEGetDimension
DMGetLabel PETSCFENONAFFINE PetscFEGetDualSpace
DMGetLabelByNum PETSCFEOPENCL PetscFEGetFaceQuadrature
DMGetLabelName PETSCFVLEASTSQUARES PetscFEGetNumComponents
DMGetLocalToGlobalMapping PETSCFVUPWIND PetscFEGetNumDof
DMGetMatType PETSCLIMITERMC PetscFEGetQuadrature
DMGetNumBoundary PETSCLIMITERMINMOD PetscFEGetSpatialDimension
DMGetNumLabels PETSCLIMITERNONE PetscFEGetTabulation
DMGetOutputDM PETSCLIMITERSIN PetscFEGetTileSizes
DMGetOutputSequenceNumber PETSCLIMITERSUPERBEE PetscFEGetType
DMGetPointSF PETSCLIMITERVANALBADA PetscFEJacobianType
DMGetType PETSCLIMITERVANLEER PetscFESetBasisSpace
DMGetVecType PETSCLIMITERZERO PetscFESetDualSpace
DMHasLabel PETSCSPACEDG PetscFESetFaceQuadrature
DMLoad PETSCSPACEPOLYNOMIAL PetscFESetNumComponents
DMLocalToLocalBegin PetscDS PetscFESetQuadrature
DMLocalToLocalEnd PetscDSCopyEquations PetscFESetTileSizes
DMMOAB PetscDSGetBdJacobian PetscFESetType
DMMoabCreate PetscDSGetBdResidual PetscFV
DMMoabGetDofs PetscDSGetDynamicJacobian PetscFVGetType
DMMoabGetDofsBlocked PetscDSGetFaceTabulation PetscFVLeastSquaresSetMaxFaces
DMMoabGetDofsBlockedLocal PetscDSGetJacobian PetscFVSetDualSpace
DMMoabGetDofsLocal PetscDSGetJacobianPreconditioner PetscFVSetType
DMMoabGetFieldDofs PetscDSGetNumBoundary PetscLimiter
DMMoabGetFieldDofsLocal PetscDSGetResidual PetscLimiterGetType
DMMoabGetFieldName PetscDSGetRiemannSolver PetscLimiterSetType
DMMoabGetVertexDofsBlocked PetscDSGetTabulation PetscPartitioner
DMMoabGetVertexDofsBlockedLocal PetscDSGetType PetscQuadratureExpandComposite
DMMoabOutput PetscDSHasDynamicJacobian PetscQuadratureGetData
DMMoabSetFieldName PetscDSHasJacobian PetscQuadratureGetOrder
DMMoabSetFieldNames PetscDSHasJacobianPreconditioner PetscQuadratureSetData
DMMoabSetFieldVector PetscDSSetBdJacobian PetscQuadratureSetOrder
DMMoabSetGlobalFieldVector PetscDSSetBdResidual PetscSpace
DMMoabVecGetArray PetscDSSetDynamicJacobian PetscSpaceGetOrder
DMMoabVecGetArrayRead PetscDSSetJacobian PetscSpaceGetType
DMMoabVecRestoreArray PetscDSSetJacobianPreconditioner PetscSpaceSetOrder
DMOutputSequenceLoad PetscDSSetResidual PetscSpaceSetType
DMPATCH PetscDSSetRiemannSolver VecGetDM
DMREDUNDANT PetscDSSetType VecSetDM
Advanced - Setting more advanced options and customization
DMAppendOptionsPrefix DMLocalToGlobalHookAdd DMShellSetLocalToLocal
DMCoarsenHookAdd DMLocalToLocalBeginDefaultShell DMShellSetLocalToLocalVecScatter
DMCompositeAddDM DMLocalToLocalEndDefaultShell DMShellSetLocalVector
DMCompositeCreate DMRedundantCreate DMShellSetMatrix
DMCompositeGather DMRedundantGetSize DMShellSetRefine
DMCompositeGatherArray DMRedundantSetSize DMSlicedCreate
DMCompositeGetAccess DMRefineHookAdd DMSlicedSetBlockFills
DMCompositeGetAccessArray DMRegister DMSlicedSetGhosts
DMCompositeGetEntries DMRegisterAll DMSlicedSetPreallocation
DMCompositeGetEntriesArray DMSetDefaultConstraints DMSubDomainHookAdd
DMCompositeGetGlobalISs DMSetOptionsPrefix MatFDColoringUseDM
DMCompositeGetISLocalToGlobalMappings DMSetRefineLevel PetscDSRegister
DMCompositeGetLocalAccessArray DMShellCreate PetscDSRegisterAll
DMCompositeGetLocalVectors DMShellGetContext PetscDTReconstructPoly
DMCompositeRestoreAccess DMShellSetCoarsen PetscDualSpaceCreateReferenceCell
DMCompositeRestoreAccessArray DMShellSetContext PetscDualSpaceGetHeightSubspace
DMCompositeRestoreLocalAccessArray DMShellSetCreateFieldDecomposition PetscDualSpaceRegister
DMCompositeRestoreLocalVectors DMShellSetCreateGlobalVector PetscDualSpaceRegisterAll
DMCompositeScatter DMShellSetCreateInjection PetscFERegister
DMCompositeScatterArray DMShellSetCreateInterpolation PetscFERegisterAll
DMCompositeSetCoupling DMShellSetCreateLocalVector PetscFVRegister
DMComputeVariableBounds DMShellSetCreateMatrix PetscFVRegisterAll
DMGetDefaultConstraints DMShellSetCreateRestriction PetscLimiterRegister
DMGetOptionsPrefix DMShellSetCreateSubDM PetscLimiterRegisterAll
DMGlobalToLocalBeginDefaultShell DMShellSetGlobalToLocal PetscPartitionerRegisterAll
DMGlobalToLocalEndDefaultShell DMShellSetGlobalToLocalVecScatter PetscSpaceEvaluate
DMGlobalToLocalHookAdd DMShellSetGlobalVector PetscSpaceRegister
DMLocalToGlobalBeginDefaultShell DMShellSetLocalToGlobal PetscSpaceRegisterAll
DMLocalToGlobalEndDefaultShell DMShellSetLocalToGlobalVecScatter
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMProjectFunction PetscFEIntegrate
DMAddLabel DMRefine PetscFEIntegrateBdResidual
DMClearGlobalVectors DMRefineHierarchy PetscFEIntegrateJacobian
DMClearLocalVectors DMRemoveLabel PetscFEIntegrateResidual
DMCoarsen DMRestoreNamedGlobalVector PetscFESetFromOptions
DMCoarsenHierarchy DMRestoreNamedLocalVector PetscFESetUp
DMComputeL2Diff DMRestoreWorkArray PetscFEView
DMComputeL2FieldDiff DMRestrict PetscFVComputeGradient
DMComputeL2GradientDiff DMSetDS PetscFVDestroy
DMCreateColoring DMSetField PetscFVFinalizePackage
DMCreateDomainDecompositionScatters DMSetFromOptions PetscFVGetComponentName
DMCreateInjection DMSetLabelOutput PetscFVGetComputeGradients
DMCreateInterpolation DMSetMatrixPreallocateOnly PetscFVGetDualSpace
DMCreateRestriction DMSetPeriodicity PetscFVGetLimiter
DMDestroy DMSetUp PetscFVGetNumComponents
DMFinalizePackage DMSetVec PetscFVGetQuadrature
DMGetBoundary DMSubDomainRestrict PetscFVGetSpatialDimension
DMGetCoarsenLevel PetscDSAddBoundary PetscFVInitializePackage
DMGetCoordinatesLocalized PetscDSDestroy PetscFVRefine
DMGetDS PetscDSFinalizePackage PetscFVSetComponentName
DMGetField PetscDSGetAdjacency PetscFVSetComputeGradients
DMGetLabelOutput PetscDSGetBoundary PetscFVSetFromOptions
DMGetNamedGlobalVector PetscDSGetImplicit PetscFVSetLimiter
DMGetNamedLocalVector PetscDSInitializePackage PetscFVSetNumComponents
DMGetRefineLevel PetscDSSetAdjacency PetscFVSetQuadrature
DMGetWorkArray PetscDSSetFromOptions PetscFVSetSpatialDimension
DMHasColoring PetscDSSetImplicit PetscFVSetUp
DMHasCreateRestriction PetscDSSetUp PetscFVView
DMHasNamedGlobalVector PetscDSView PetscLimiterDestroy
DMHasNamedLocalVector PetscDualSpaceApply PetscLimiterSetFromOptions
DMHasVariableBounds PetscDualSpaceApplyFVM PetscLimiterSetUp
DMInitializePackage PetscDualSpaceDestroy PetscLimiterView
DMInterpolate PetscDualSpaceSetFromOptions PetscQuadrature
DMLabel PetscDualSpaceSetUp PetscSpaceDestroy
DMLocalizeCoordinate PetscDualSpaceView PetscSpaceSetFromOptions
DMLocalizeCoordinates PetscFEDestroy PetscSpaceSetUp
DMLocatePoints PetscFEFinalizePackage PetscSpaceView
DMMoabSetBlockFills PetscFEInitializePackage
No deprecated routines

Table of Contents