petsc-master 2017-05-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
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 DMSetCoarseDM PetscDualSpaceGetDM
DMAdaptLabel DMSetCoordinateDM PetscDualSpaceGetDimension
DMCOMPOSITE DMSetCoordinateDim PetscDualSpaceGetFunctional
DMCompositeGetLocalISs DMSetCoordinateSection PetscDualSpaceGetNumComponents
DMConvert DMSetCoordinates PetscDualSpaceGetNumDof
DMCopyLabels DMSetCoordinatesLocal PetscDualSpaceGetOrder
DMCreateAggregates DMSetDefaultGlobalSection PetscDualSpaceGetType
DMCreateDefaultSF DMSetDefaultSF PetscDualSpaceLagrangeGetContinuity
DMCreateDomainDecomposition DMSetDefaultSection PetscDualSpaceLagrangeGetTensor
DMCreateFieldDecomposition DMSetFineDM PetscDualSpaceLagrangeSetContinuity
DMCreateFieldIS DMSetMatType PetscDualSpaceLagrangeSetTensor
DMCreateLabel DMSetOutputSequenceNumber PetscDualSpaceSetDM
DMCreateSubDM DMSetPointSF PetscDualSpaceSetNumComponents
DMGetApplicationContext DMSetType PetscDualSpaceSetOrder
DMGetBlockSize DMSetVariableBounds PetscDualSpaceSetType
DMGetCoarseDM DMSetVecType PetscDualSpaceSimpleSetDimension
DMGetCoordinateDM MatGetDM PetscDualSpaceSimpleSetFunctional
DMGetCoordinateDim MatSetDM PetscFE
DMGetCoordinateSection PETSCDSBASIC PetscFECompositeGetMapping
DMGetCoordinates PETSCDUALSPACELAGRANGE PetscFEGetBasisSpace
DMGetCoordinatesLocal PETSCDUALSPACESIMPLE PetscFEGetDefaultTabulation
DMGetDefaultGlobalSection PETSCFEBASIC PetscFEGetDimension
DMGetDefaultSF PETSCFECOMPOSITE PetscFEGetDualSpace
DMGetDefaultSection PETSCFENONAFFINE PetscFEGetFaceQuadrature
DMGetDimPoints PETSCFEOPENCL PetscFEGetNumComponents
DMGetFineDM PETSCFVLEASTSQUARES PetscFEGetNumDof
DMGetLabel PETSCFVUPWIND PetscFEGetQuadrature
DMGetLabelByNum PETSCLIMITERMC PetscFEGetSpatialDimension
DMGetLabelName PETSCLIMITERMINMOD PetscFEGetTabulation
DMGetLocalToGlobalMapping PETSCLIMITERNONE PetscFEGetTileSizes
DMGetMatType PETSCLIMITERSIN PetscFEGetType
DMGetNumBoundary PETSCLIMITERSUPERBEE PetscFEJacobianType
DMGetNumLabels PETSCLIMITERVANALBADA PetscFESetBasisSpace
DMGetOutputDM PETSCLIMITERVANLEER PetscFESetDualSpace
DMGetOutputSequenceNumber PETSCLIMITERZERO PetscFESetFaceQuadrature
DMGetPointSF PETSCSPACEPOINT PetscFESetNumComponents
DMGetType PETSCSPACEPOLYNOMIAL PetscFESetQuadrature
DMGetVecType PetscDS PetscFESetTileSizes
DMHasLabel PetscDSCopyEquations PetscFESetType
DMLoad PetscDSGetBdJacobian PetscFV
DMLocalToLocalBegin PetscDSGetBdResidual PetscFVGetType
DMLocalToLocalEnd PetscDSGetDynamicJacobian PetscFVLeastSquaresSetMaxFaces
DMMOAB PetscDSGetFaceTabulation PetscFVSetDualSpace
DMMoabCreate PetscDSGetJacobian PetscFVSetType
DMMoabGetDofs PetscDSGetJacobianPreconditioner PetscLimiter
DMMoabGetDofsBlocked PetscDSGetNumBoundary PetscLimiterGetType
DMMoabGetDofsBlockedLocal PetscDSGetResidual PetscLimiterSetType
DMMoabGetDofsLocal PetscDSGetRiemannSolver PetscPartitioner
DMMoabGetFieldDofs PetscDSGetTabulation PetscQuadratureExpandComposite
DMMoabGetFieldDofsLocal PetscDSGetType PetscQuadratureGetData
DMMoabGetFieldName PetscDSHasDynamicJacobian PetscQuadratureGetNumComponents
DMMoabGetVertexDofsBlocked PetscDSHasJacobian PetscQuadratureGetOrder
DMMoabGetVertexDofsBlockedLocal PetscDSHasJacobianPreconditioner PetscQuadratureSetData
DMMoabOutput PetscDSSetBdJacobian PetscQuadratureSetNumComponents
DMMoabSetFieldName PetscDSSetBdResidual PetscQuadratureSetOrder
DMMoabSetFieldNames PetscDSSetDynamicJacobian PetscSpace
DMMoabSetFieldVector PetscDSSetJacobian PetscSpaceGetDimension
DMMoabSetGlobalFieldVector PetscDSSetJacobianPreconditioner PetscSpaceGetNumComponents
DMMoabVecGetArray PetscDSSetResidual PetscSpaceGetOrder
DMMoabVecGetArrayRead PetscDSSetRiemannSolver PetscSpaceGetType
DMMoabVecRestoreArray PetscDSSetType PetscSpaceSetNumComponents
DMOutputSequenceLoad PetscDTGaussJacobiQuadrature PetscSpaceSetOrder
DMPATCH PetscDTGaussQuadrature PetscSpaceSetType
DMREDUNDANT PetscDTGaussTensorQuadrature VecGetDM
DMSLICED PetscDTLegendreEval VecSetDM
DMSetApplicationContext PetscDTTanhSinhTensorQuadrature
DMSetApplicationContextDestroy PetscDualSpace
Advanced - Setting more advanced options and customization
DMAppendOptionsPrefix DMLocalToLocalBeginDefaultShell DMShellSetLocalToLocal
DMCoarsenHookAdd DMLocalToLocalEndDefaultShell DMShellSetLocalToLocalVecScatter
DMCompositeAddDM DMRedundantCreate DMShellSetLocalVector
DMCompositeCreate DMRedundantGetSize DMShellSetMatrix
DMCompositeGather DMRedundantSetSize DMShellSetRefine
DMCompositeGatherArray DMRefineHookAdd DMSlicedCreate
DMCompositeGetAccess DMRegister DMSlicedSetBlockFills
DMCompositeGetAccessArray DMRegisterAll DMSlicedSetGhosts
DMCompositeGetEntries DMSetDefaultConstraints DMSlicedSetPreallocation
DMCompositeGetEntriesArray DMSetOptionsPrefix DMSubDomainHookAdd
DMCompositeGetGlobalISs DMSetRefineLevel MatFDColoringUseDM
DMCompositeGetISLocalToGlobalMappings DMShellCreate PetscDSRegister
DMCompositeGetLocalAccessArray DMShellGetContext PetscDSRegisterAll
DMCompositeGetLocalVectors DMShellSetCoarsen PetscDTReconstructPoly
DMCompositeRestoreAccess DMShellSetContext PetscDualSpaceCreateReferenceCell
DMCompositeRestoreAccessArray DMShellSetCreateDomainDecomposition PetscDualSpaceGetHeightSubspace
DMCompositeRestoreLocalAccessArray DMShellSetCreateDomainDecompositionScatters PetscDualSpaceRegister
DMCompositeRestoreLocalVectors DMShellSetCreateFieldDecomposition PetscDualSpaceRegisterAll
DMCompositeScatter DMShellSetCreateGlobalVector PetscFERegister
DMCompositeScatterArray DMShellSetCreateInjection PetscFERegisterAll
DMCompositeSetCoupling DMShellSetCreateInterpolation PetscFVRegister
DMComputeVariableBounds DMShellSetCreateLocalVector PetscFVRegisterAll
DMGetDefaultConstraints DMShellSetCreateMatrix PetscLimiterRegister
DMGetOptionsPrefix DMShellSetCreateRestriction PetscLimiterRegisterAll
DMGlobalToLocalBeginDefaultShell DMShellSetCreateSubDM PetscPartitionerRegisterAll
DMGlobalToLocalEndDefaultShell DMShellSetGlobalToLocal PetscSpaceEvaluate
DMGlobalToLocalHookAdd DMShellSetGlobalToLocalVecScatter PetscSpaceRegister
DMLocalToGlobalBeginDefaultShell DMShellSetGlobalVector PetscSpaceRegisterAll
DMLocalToGlobalEndDefaultShell DMShellSetLocalToGlobal
DMLocalToGlobalHookAdd DMShellSetLocalToGlobalVecScatter
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMRefine PetscFEIntegrate
DMAddLabel DMRefineHierarchy PetscFEIntegrateBdJacobian
DMClearGlobalVectors DMRemoveLabel PetscFEIntegrateBdResidual
DMClearLocalVectors DMRestoreNamedGlobalVector PetscFEIntegrateJacobian
DMCoarsen DMRestoreNamedLocalVector PetscFEIntegrateResidual
DMCoarsenHierarchy DMRestoreWorkArray PetscFERefine
DMComputeL2Diff DMRestrict PetscFESetFromOptions
DMComputeL2FieldDiff DMSetDS PetscFESetUp
DMComputeL2GradientDiff DMSetField PetscFEView
DMCreateColoring DMSetFromOptions PetscFVComputeGradient
DMCreateDomainDecompositionScatters DMSetLabelOutput PetscFVDestroy
DMCreateInjection DMSetMatrixPreallocateOnly PetscFVFinalizePackage
DMCreateInterpolation DMSetPeriodicity PetscFVGetComponentName
DMCreateRestriction DMSetUp PetscFVGetComputeGradients
DMDestroy DMSetVec PetscFVGetDualSpace
DMFinalizePackage DMSubDomainRestrict PetscFVGetLimiter
DMGetBoundary PetscDSAddBoundary PetscFVGetNumComponents
DMGetCoarsenLevel PetscDSDestroy PetscFVGetQuadrature
DMGetCoordinatesLocalized PetscDSFinalizePackage PetscFVGetSpatialDimension
DMGetDS PetscDSGetAdjacency PetscFVInitializePackage
DMGetField PetscDSGetBoundary PetscFVRefine
DMGetLabelOutput PetscDSGetImplicit PetscFVSetComponentName
DMGetNamedGlobalVector PetscDSInitializePackage PetscFVSetComputeGradients
DMGetNamedLocalVector PetscDSSetAdjacency PetscFVSetFromOptions
DMGetRefineLevel PetscDSSetFromOptions PetscFVSetLimiter
DMGetWorkArray PetscDSSetImplicit PetscFVSetNumComponents
DMHasColoring PetscDSSetUp PetscFVSetQuadrature
DMHasCreateRestriction PetscDSView PetscFVSetSpatialDimension
DMHasNamedGlobalVector PetscDualSpaceApply PetscFVSetUp
DMHasNamedLocalVector PetscDualSpaceApplyDefault PetscFVView
DMHasVariableBounds PetscDualSpaceApplyFVM PetscLimiterDestroy
DMInitializePackage PetscDualSpaceDestroy PetscLimiterSetFromOptions
DMInterpolate PetscDualSpaceGetSymmetries PetscLimiterSetUp
DMLabel PetscDualSpaceSetFromOptions PetscLimiterView
DMLocalizeCoordinate PetscDualSpaceSetUp PetscQuadrature
DMLocalizeCoordinates PetscDualSpaceView PetscSpaceDestroy
DMLocatePoints PetscFEDestroy PetscSpaceSetFromOptions
DMMoabSetBlockFills PetscFEFinalizePackage PetscSpaceSetUp
DMProjectFunction PetscFEInitializePackage PetscSpaceView
No deprecated routines

Table of Contents