petsc4py.PETSc.DM
=================

.. autoclass:: petsc4py.PETSc.DM
   :show-inheritance:

   
   .. rubric:: Enumerations
   .. autosummary::
      :toctree:
   
      ~petsc4py.PETSc.DM.BoundaryType
      ~petsc4py.PETSc.DM.PolytopeType
      ~petsc4py.PETSc.DM.Type

   
   .. rubric:: Methods Summary
   .. autosummary::
   
      ~petsc4py.PETSc.DM.adaptLabel
      ~petsc4py.PETSc.DM.adaptMetric
      ~petsc4py.PETSc.DM.addCoarsenHook
      ~petsc4py.PETSc.DM.addField
      ~petsc4py.PETSc.DM.appendOptionsPrefix
      ~petsc4py.PETSc.DM.clearDS
      ~petsc4py.PETSc.DM.clearFields
      ~petsc4py.PETSc.DM.clearLabelStratum
      ~petsc4py.PETSc.DM.clearLabelValue
      ~petsc4py.PETSc.DM.clone
      ~petsc4py.PETSc.DM.coarsen
      ~petsc4py.PETSc.DM.coarsenHierarchy
      ~petsc4py.PETSc.DM.convert
      ~petsc4py.PETSc.DM.copyDS
      ~petsc4py.PETSc.DM.copyDisc
      ~petsc4py.PETSc.DM.copyFields
      ~petsc4py.PETSc.DM.create
      ~petsc4py.PETSc.DM.createDS
      ~petsc4py.PETSc.DM.createFieldDecomposition
      ~petsc4py.PETSc.DM.createGlobalVec
      ~petsc4py.PETSc.DM.createInjection
      ~petsc4py.PETSc.DM.createInterpolation
      ~petsc4py.PETSc.DM.createLabel
      ~petsc4py.PETSc.DM.createLocalVec
      ~petsc4py.PETSc.DM.createMassMatrix
      ~petsc4py.PETSc.DM.createMat
      ~petsc4py.PETSc.DM.createRestriction
      ~petsc4py.PETSc.DM.createSectionSF
      ~petsc4py.PETSc.DM.createSubDM
      ~petsc4py.PETSc.DM.destroy
      ~petsc4py.PETSc.DM.getAppCtx
      ~petsc4py.PETSc.DM.getAuxiliaryVec
      ~petsc4py.PETSc.DM.getBasicAdjacency
      ~petsc4py.PETSc.DM.getBlockSize
      ~petsc4py.PETSc.DM.getBoundingBox
      ~petsc4py.PETSc.DM.getCoarseDM
      ~petsc4py.PETSc.DM.getCoarsenLevel
      ~petsc4py.PETSc.DM.getCoordinateDM
      ~petsc4py.PETSc.DM.getCoordinateDim
      ~petsc4py.PETSc.DM.getCoordinateSection
      ~petsc4py.PETSc.DM.getCoordinates
      ~petsc4py.PETSc.DM.getCoordinatesLocal
      ~petsc4py.PETSc.DM.getDS
      ~petsc4py.PETSc.DM.getDimension
      ~petsc4py.PETSc.DM.getField
      ~petsc4py.PETSc.DM.getFieldAdjacency
      ~petsc4py.PETSc.DM.getGlobalSection
      ~petsc4py.PETSc.DM.getGlobalVec
      ~petsc4py.PETSc.DM.getLGMap
      ~petsc4py.PETSc.DM.getLabel
      ~petsc4py.PETSc.DM.getLabelIdIS
      ~petsc4py.PETSc.DM.getLabelName
      ~petsc4py.PETSc.DM.getLabelOutput
      ~petsc4py.PETSc.DM.getLabelSize
      ~petsc4py.PETSc.DM.getLabelValue
      ~petsc4py.PETSc.DM.getLocalBoundingBox
      ~petsc4py.PETSc.DM.getLocalSection
      ~petsc4py.PETSc.DM.getLocalVec
      ~petsc4py.PETSc.DM.getNumFields
      ~petsc4py.PETSc.DM.getNumLabels
      ~petsc4py.PETSc.DM.getOptionsPrefix
      ~petsc4py.PETSc.DM.getPointSF
      ~petsc4py.PETSc.DM.getRefineLevel
      ~petsc4py.PETSc.DM.getSectionSF
      ~petsc4py.PETSc.DM.getStratumIS
      ~petsc4py.PETSc.DM.getStratumSize
      ~petsc4py.PETSc.DM.getType
      ~petsc4py.PETSc.DM.globalToLocal
      ~petsc4py.PETSc.DM.hasLabel
      ~petsc4py.PETSc.DM.load
      ~petsc4py.PETSc.DM.localToGlobal
      ~petsc4py.PETSc.DM.localToLocal
      ~petsc4py.PETSc.DM.localizeCoordinates
      ~petsc4py.PETSc.DM.projectCoordinates
      ~petsc4py.PETSc.DM.refine
      ~petsc4py.PETSc.DM.refineHierarchy
      ~petsc4py.PETSc.DM.removeLabel
      ~petsc4py.PETSc.DM.restoreGlobalVec
      ~petsc4py.PETSc.DM.restoreLocalVec
      ~petsc4py.PETSc.DM.setAppCtx
      ~petsc4py.PETSc.DM.setAuxiliaryVec
      ~petsc4py.PETSc.DM.setBasicAdjacency
      ~petsc4py.PETSc.DM.setCoarseDM
      ~petsc4py.PETSc.DM.setCoordinateDim
      ~petsc4py.PETSc.DM.setCoordinates
      ~petsc4py.PETSc.DM.setCoordinatesLocal
      ~petsc4py.PETSc.DM.setDimension
      ~petsc4py.PETSc.DM.setField
      ~petsc4py.PETSc.DM.setFieldAdjacency
      ~petsc4py.PETSc.DM.setFromOptions
      ~petsc4py.PETSc.DM.setGlobalSection
      ~petsc4py.PETSc.DM.setKSPComputeOperators
      ~petsc4py.PETSc.DM.setLabelOutput
      ~petsc4py.PETSc.DM.setLabelValue
      ~petsc4py.PETSc.DM.setLocalSection
      ~petsc4py.PETSc.DM.setMatType
      ~petsc4py.PETSc.DM.setNumFields
      ~petsc4py.PETSc.DM.setOptionsPrefix
      ~petsc4py.PETSc.DM.setPointSF
      ~petsc4py.PETSc.DM.setRefineLevel
      ~petsc4py.PETSc.DM.setSNESFunction
      ~petsc4py.PETSc.DM.setSNESJacobian
      ~petsc4py.PETSc.DM.setSectionSF
      ~petsc4py.PETSc.DM.setType
      ~petsc4py.PETSc.DM.setUp
      ~petsc4py.PETSc.DM.setVecType
      ~petsc4py.PETSc.DM.view
      ~petsc4py.PETSc.DM.viewFromOptions

   
   .. rubric:: Attributes Summary
   .. autosummary::
   
      ~petsc4py.PETSc.DM.appctx
      ~petsc4py.PETSc.DM.ds

   
   .. rubric:: Methods Documentation
   
   .. automethod:: adaptLabel
   .. automethod:: adaptMetric
   .. automethod:: addCoarsenHook
   .. automethod:: addField
   .. automethod:: appendOptionsPrefix
   .. automethod:: clearDS
   .. automethod:: clearFields
   .. automethod:: clearLabelStratum
   .. automethod:: clearLabelValue
   .. automethod:: clone
   .. automethod:: coarsen
   .. automethod:: coarsenHierarchy
   .. automethod:: convert
   .. automethod:: copyDS
   .. automethod:: copyDisc
   .. automethod:: copyFields
   .. automethod:: create
   .. automethod:: createDS
   .. automethod:: createFieldDecomposition
   .. automethod:: createGlobalVec
   .. automethod:: createInjection
   .. automethod:: createInterpolation
   .. automethod:: createLabel
   .. automethod:: createLocalVec
   .. automethod:: createMassMatrix
   .. automethod:: createMat
   .. automethod:: createRestriction
   .. automethod:: createSectionSF
   .. automethod:: createSubDM
   .. automethod:: destroy
   .. automethod:: getAppCtx
   .. automethod:: getAuxiliaryVec
   .. automethod:: getBasicAdjacency
   .. automethod:: getBlockSize
   .. automethod:: getBoundingBox
   .. automethod:: getCoarseDM
   .. automethod:: getCoarsenLevel
   .. automethod:: getCoordinateDM
   .. automethod:: getCoordinateDim
   .. automethod:: getCoordinateSection
   .. automethod:: getCoordinates
   .. automethod:: getCoordinatesLocal
   .. automethod:: getDS
   .. automethod:: getDimension
   .. automethod:: getField
   .. automethod:: getFieldAdjacency
   .. automethod:: getGlobalSection
   .. automethod:: getGlobalVec
   .. automethod:: getLGMap
   .. automethod:: getLabel
   .. automethod:: getLabelIdIS
   .. automethod:: getLabelName
   .. automethod:: getLabelOutput
   .. automethod:: getLabelSize
   .. automethod:: getLabelValue
   .. automethod:: getLocalBoundingBox
   .. automethod:: getLocalSection
   .. automethod:: getLocalVec
   .. automethod:: getNumFields
   .. automethod:: getNumLabels
   .. automethod:: getOptionsPrefix
   .. automethod:: getPointSF
   .. automethod:: getRefineLevel
   .. automethod:: getSectionSF
   .. automethod:: getStratumIS
   .. automethod:: getStratumSize
   .. automethod:: getType
   .. automethod:: globalToLocal
   .. automethod:: hasLabel
   .. automethod:: load
   .. automethod:: localToGlobal
   .. automethod:: localToLocal
   .. automethod:: localizeCoordinates
   .. automethod:: projectCoordinates
   .. automethod:: refine
   .. automethod:: refineHierarchy
   .. automethod:: removeLabel
   .. automethod:: restoreGlobalVec
   .. automethod:: restoreLocalVec
   .. automethod:: setAppCtx
   .. automethod:: setAuxiliaryVec
   .. automethod:: setBasicAdjacency
   .. automethod:: setCoarseDM
   .. automethod:: setCoordinateDim
   .. automethod:: setCoordinates
   .. automethod:: setCoordinatesLocal
   .. automethod:: setDimension
   .. automethod:: setField
   .. automethod:: setFieldAdjacency
   .. automethod:: setFromOptions
   .. automethod:: setGlobalSection
   .. automethod:: setKSPComputeOperators
   .. automethod:: setLabelOutput
   .. automethod:: setLabelValue
   .. automethod:: setLocalSection
   .. automethod:: setMatType
   .. automethod:: setNumFields
   .. automethod:: setOptionsPrefix
   .. automethod:: setPointSF
   .. automethod:: setRefineLevel
   .. automethod:: setSNESFunction
   .. automethod:: setSNESJacobian
   .. automethod:: setSectionSF
   .. automethod:: setType
   .. automethod:: setUp
   .. automethod:: setVecType
   .. automethod:: view
   .. automethod:: viewFromOptions

   
   .. rubric:: Attributes Documentation
   
   .. autoattribute:: appctx
   .. autoattribute:: ds
