petsc4py.PETSc.DMSwarm
======================

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

   
   .. rubric:: Enumerations
   .. autosummary::
      :toctree:
   
      ~petsc4py.PETSc.DMSwarm.CollectType
      ~petsc4py.PETSc.DMSwarm.MigrateType
      ~petsc4py.PETSc.DMSwarm.PICLayoutType
      ~petsc4py.PETSc.DMSwarm.Type

   
   .. rubric:: Methods Summary
   .. autosummary::
   
      ~petsc4py.PETSc.DMSwarm.addCellDM
      ~petsc4py.PETSc.DMSwarm.addNPoints
      ~petsc4py.PETSc.DMSwarm.addPoint
      ~petsc4py.PETSc.DMSwarm.collectViewCreate
      ~petsc4py.PETSc.DMSwarm.collectViewDestroy
      ~petsc4py.PETSc.DMSwarm.computeMoments
      ~petsc4py.PETSc.DMSwarm.copyPoint
      ~petsc4py.PETSc.DMSwarm.create
      ~petsc4py.PETSc.DMSwarm.createGlobalVectorFromField
      ~petsc4py.PETSc.DMSwarm.createGlobalVectorFromFields
      ~petsc4py.PETSc.DMSwarm.createLocalVectorFromField
      ~petsc4py.PETSc.DMSwarm.createLocalVectorFromFields
      ~petsc4py.PETSc.DMSwarm.destroyGlobalVectorFromField
      ~petsc4py.PETSc.DMSwarm.destroyGlobalVectorFromFields
      ~petsc4py.PETSc.DMSwarm.destroyLocalVectorFromField
      ~petsc4py.PETSc.DMSwarm.destroyLocalVectorFromFields
      ~petsc4py.PETSc.DMSwarm.finalizeFieldRegister
      ~petsc4py.PETSc.DMSwarm.getCellDM
      ~petsc4py.PETSc.DMSwarm.getCellDMActive
      ~petsc4py.PETSc.DMSwarm.getCellDMByName
      ~petsc4py.PETSc.DMSwarm.getCellDMNames
      ~petsc4py.PETSc.DMSwarm.getField
      ~petsc4py.PETSc.DMSwarm.getLocalSize
      ~petsc4py.PETSc.DMSwarm.getSize
      ~petsc4py.PETSc.DMSwarm.initializeFieldRegister
      ~petsc4py.PETSc.DMSwarm.insertPointUsingCellDM
      ~petsc4py.PETSc.DMSwarm.migrate
      ~petsc4py.PETSc.DMSwarm.projectFields
      ~petsc4py.PETSc.DMSwarm.registerField
      ~petsc4py.PETSc.DMSwarm.removePoint
      ~petsc4py.PETSc.DMSwarm.removePointAtIndex
      ~petsc4py.PETSc.DMSwarm.restoreField
      ~petsc4py.PETSc.DMSwarm.setCellDM
      ~petsc4py.PETSc.DMSwarm.setCellDMActive
      ~petsc4py.PETSc.DMSwarm.setLocalSizes
      ~petsc4py.PETSc.DMSwarm.setPointCoordinates
      ~petsc4py.PETSc.DMSwarm.setPointCoordinatesCellwise
      ~petsc4py.PETSc.DMSwarm.setPointsUniformCoordinates
      ~petsc4py.PETSc.DMSwarm.setType
      ~petsc4py.PETSc.DMSwarm.sortGetAccess
      ~petsc4py.PETSc.DMSwarm.sortGetIsValid
      ~petsc4py.PETSc.DMSwarm.sortGetNumberOfPointsPerCell
      ~petsc4py.PETSc.DMSwarm.sortGetPointsPerCell
      ~petsc4py.PETSc.DMSwarm.sortGetSizes
      ~petsc4py.PETSc.DMSwarm.sortRestoreAccess
      ~petsc4py.PETSc.DMSwarm.vectorDefineField
      ~petsc4py.PETSc.DMSwarm.viewFieldsXDMF
      ~petsc4py.PETSc.DMSwarm.viewXDMF

   

   
   .. rubric:: Methods Documentation
   
   .. automethod:: addCellDM
   .. automethod:: addNPoints
   .. automethod:: addPoint
   .. automethod:: collectViewCreate
   .. automethod:: collectViewDestroy
   .. automethod:: computeMoments
   .. automethod:: copyPoint
   .. automethod:: create
   .. automethod:: createGlobalVectorFromField
   .. automethod:: createGlobalVectorFromFields
   .. automethod:: createLocalVectorFromField
   .. automethod:: createLocalVectorFromFields
   .. automethod:: destroyGlobalVectorFromField
   .. automethod:: destroyGlobalVectorFromFields
   .. automethod:: destroyLocalVectorFromField
   .. automethod:: destroyLocalVectorFromFields
   .. automethod:: finalizeFieldRegister
   .. automethod:: getCellDM
   .. automethod:: getCellDMActive
   .. automethod:: getCellDMByName
   .. automethod:: getCellDMNames
   .. automethod:: getField
   .. automethod:: getLocalSize
   .. automethod:: getSize
   .. automethod:: initializeFieldRegister
   .. automethod:: insertPointUsingCellDM
   .. automethod:: migrate
   .. automethod:: projectFields
   .. automethod:: registerField
   .. automethod:: removePoint
   .. automethod:: removePointAtIndex
   .. automethod:: restoreField
   .. automethod:: setCellDM
   .. automethod:: setCellDMActive
   .. automethod:: setLocalSizes
   .. automethod:: setPointCoordinates
   .. automethod:: setPointCoordinatesCellwise
   .. automethod:: setPointsUniformCoordinates
   .. automethod:: setType
   .. automethod:: sortGetAccess
   .. automethod:: sortGetIsValid
   .. automethod:: sortGetNumberOfPointsPerCell
   .. automethod:: sortGetPointsPerCell
   .. automethod:: sortGetSizes
   .. automethod:: sortRestoreAccess
   .. automethod:: vectorDefineField
   .. automethod:: viewFieldsXDMF
   .. automethod:: viewXDMF

   
