petsc-master 2018-06-24
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
DMAdaptFlag DMGetLabelSize DMSetStratumIS
DMAdaptationCriterion DMGetLabelValue DMSetUseNatural
DMAdaptationStrategy DMGetLocalVector DMType
DMBoundaryConditionType DMGetNeighbors DMView
DMBoundaryType DMGetStratumIS PetscDSType
DMClearLabelStratum DMGetStratumSize PetscDualSpaceType
DMClearLabelValue DMGetUseNatural PetscFEType
DMClone DMGlobalToLocalBegin PetscFVCellGeom
DMCompositeGetNumberDM DMGlobalToLocalEnd PetscFVFaceGeom
DMCreate DMLocalToGlobalBegin PetscFVType
DMCreateGlobalVector DMLocalToGlobalEnd PetscLimiterType
DMCreateLocalVector DMPointLocationType PetscPartitionerType
DMCreateMatrix DMRestoreGlobalVector PetscSpaceType
DMGetDimension DMRestoreLocalVector PetscUnit
DMGetGlobalVector DMSetDimension
DMGetLabelIdIS DMSetLabelValue
Intermediate - Setting options for algorithms and data structures
DM DMGetCoordinatesLocal DMSetCoarseDM
DMAdaptLabel DMGetDefaultGlobalSection DMSetCoordinateDM
DMCOMPOSITE DMGetDefaultSF DMSetCoordinateDim
DMCompositeGetLocalISs DMGetDefaultSection DMSetCoordinateSection
DMConvert DMGetDimPoints DMSetCoordinates
DMCopyLabels DMGetFineDM DMSetCoordinatesLocal
DMCreateAggregates DMGetISColoringType DMSetDefaultGlobalSection
DMCreateDefaultSF DMGetLabel DMSetDefaultSF
DMCreateDomainDecomposition DMGetLabelByNum DMSetDefaultSection
DMCreateFieldDecomposition DMGetLabelName DMSetFineDM
DMCreateFieldIS DMGetLocalToGlobalMapping DMSetISColoringType
DMCreateLabel DMGetMatType DMSetMatType
DMCreateSubDM DMGetNumBoundary DMSetOutputSequenceNumber
DMCreateSuperDM DMGetNumLabels DMSetPointSF
DMField DMGetOutputDM DMSetType
DMFieldEvaluate DMGetOutputSequenceNumber DMSetVariableBounds
DMFieldEvaluateFE DMGetPointSF DMSetVecType
DMFieldEvaluateFV DMGetType MatGetDM
DMFieldGetDM DMGetVecType MatSetDM
DMFieldGetFEInvariance DMHasLabel PetscDS
DMFieldGetNumComponents DMLoad PetscDualSpace
DMFieldType DMLocalToLocalBegin PetscFE
DMGetApplicationContext DMLocalToLocalEnd PetscFEJacobianType
DMGetBlockSize DMOutputSequenceLoad PetscFV
DMGetCoarseDM DMPATCH PetscLimiter
DMGetCoordinateDM DMREDUNDANT PetscPartitioner
DMGetCoordinateDim DMSLICED PetscSpace
DMGetCoordinateSection DMSetApplicationContext VecGetDM
DMGetCoordinates DMSetApplicationContextDestroy VecSetDM
Advanced - Setting more advanced options and customization
DMAdaptMetric DMGetDefaultConstraints DMShellSetCreateLocalVector
DMAppendOptionsPrefix DMGetOptionsPrefix DMShellSetCreateMatrix
DMCoarsenHookAdd DMGlobalToLocalBeginDefaultShell DMShellSetCreateRestriction
DMCoarsenHookRemove DMGlobalToLocalEndDefaultShell DMShellSetCreateSubDM
DMCompositeAddDM DMGlobalToLocalHookAdd DMShellSetGlobalToLocal
DMCompositeCreate DMLocalToGlobalBeginDefaultShell DMShellSetGlobalToLocalVecScatter
DMCompositeGather DMLocalToGlobalEndDefaultShell DMShellSetGlobalVector
DMCompositeGatherArray DMLocalToGlobalHookAdd DMShellSetLocalToGlobal
DMCompositeGetAccess DMLocalToLocalBeginDefaultShell DMShellSetLocalToGlobalVecScatter
DMCompositeGetAccessArray DMLocalToLocalEndDefaultShell DMShellSetLocalToLocal
DMCompositeGetEntries DMRedundantCreate DMShellSetLocalToLocalVecScatter
DMCompositeGetEntriesArray DMRedundantGetSize DMShellSetLocalVector
DMCompositeGetGlobalISs DMRedundantSetSize DMShellSetMatrix
DMCompositeGetISLocalToGlobalMappings DMRefineHookAdd DMShellSetRefine
DMCompositeGetLocalAccessArray DMRefineHookRemove DMSlicedCreate
DMCompositeGetLocalVectors DMRegister DMSlicedSetBlockFills
DMCompositeRestoreAccess DMRegisterAll DMSlicedSetGhosts
DMCompositeRestoreAccessArray DMSetDefaultConstraints DMSlicedSetPreallocation
DMCompositeRestoreLocalAccessArray DMSetOptionsPrefix DMSubDomainHookAdd
DMCompositeRestoreLocalVectors DMSetRefineLevel DMSubDomainHookRemove
DMCompositeScatter DMShellCreate MatFDColoringUseDM
DMCompositeScatterArray DMShellGetContext PetscDSRegisterAll
DMCompositeSetCoupling DMShellSetCoarsen PetscDualSpaceRegisterAll
DMComputeVariableBounds DMShellSetContext PetscFERegisterAll
DMFieldDestroy DMShellSetCreateDomainDecomposition PetscFVRegisterAll
DMFieldGetType DMShellSetCreateDomainDecompositionScatters PetscLimiterRegisterAll
DMFieldRegister DMShellSetCreateFieldDecomposition PetscPartitionerRegisterAll
DMFieldRegisterAll DMShellSetCreateGlobalVector PetscSpaceRegisterAll
DMFieldSetType DMShellSetCreateInjection
DMFieldView DMShellSetCreateInterpolation
Developer - Interfaces intended primarily for library developers, not for typical applications programmers
DMAddBoundary DMGetCoordinatesLocalized DMRefineHierarchy
DMAddLabel DMGetDS DMRemoveLabel
DMClearGlobalVectors DMGetField DMRestoreNamedGlobalVector
DMClearLocalVectors DMGetLabelOutput DMRestoreNamedLocalVector
DMCoarsen DMGetNamedGlobalVector DMRestoreWorkArray
DMCoarsenHierarchy DMGetNamedLocalVector DMRestrict
DMComputeL2Diff DMGetPeriodicity DMSetDS
DMComputeL2FieldDiff DMGetRefineLevel DMSetField
DMComputeL2GradientDiff DMGetWorkArray DMSetFromOptions
DMCreateColoring DMHasColoring DMSetLabelOutput
DMCreateDomainDecompositionScatters DMHasCreateInjection DMSetMatrixPreallocateOnly
DMCreateInjection DMHasCreateRestriction DMSetMatrixStructureOnly
DMCreateInterpolation DMHasNamedGlobalVector DMSetPeriodicity
DMCreateMassMatrix DMHasNamedLocalVector DMSetUp
DMCreateRestriction DMHasVariableBounds DMSetVec
DMDestroy DMInitializePackage DMSubDomainRestrict
DMFieldCreateDefaultQuadrature DMInterpolate PetscDSFinalizePackage
DMFieldCreateFEGeom DMLabel PetscDSInitializePackage
DMFieldFinalizePackage DMLocalizeCoordinate PetscFEFinalizePackage
DMFieldInitializePackage DMLocalizeCoordinates PetscFEInitializePackage
DMFinalizePackage DMLocatePoints PetscFVFinalizePackage
DMGetBoundary DMProjectFunction PetscFVInitializePackage
DMGetCoarsenLevel DMRefine PetscQuadrature
No deprecated routines

Table of Contents