DMSWARM Manual Pages

petsc-3.14.5 2021-03-03
Report Typos and Errors

## DMSWARM

The DMSWARM class encapsulates a particle cloud, with interfaces for particle data, movement, and interface with meshes.

Beginner - Basic usage
| DMSWARM | DMSwarmGetField | DMSwarmRestoreField
DMSwarmAddNPoints | DMSwarmGetLocalSize | DMSwarmSetCellDM
DMSwarmAddPoint | DMSwarmGetSize | DMSwarmSetLocalSizes
DMSwarmCopyPoint | DMSwarmInitializeFieldRegister | DMSwarmSetPointCoordinates
DMSwarmCreateGlobalVectorFromField | DMSwarmInsertPointsUsingCellDM | DMSwarmSetPointCoordinatesCellwise
DMSwarmCreateLocalVectorFromField | DMSwarmProjectFields | DMSwarmSetPointsUniformCoordinates
DMSwarmCreatePointPerCellCount | DMSwarmRegisterPetscDatatypeField | DMSwarmVectorDefineField
DMSwarmDestroyGlobalVectorFromField | DMSwarmRegisterUserDatatypeField | DMSwarmViewFieldsXDMF
DMSwarmDestroyLocalVectorFromField | DMSwarmRegisterUserStructField | DMSwarmViewXDMF
DMSwarmFinalizeFieldRegister | DMSwarmRemovePoint |
DMSwarmGetCellDM | DMSwarmRemovePointAtIndex |
No intermediate routines
Advanced - Setting more advanced options and customization
| DMSwarmCollectViewCreate | DMSwarmSetType | DMSwarmSortGetPointsPerCell
DMSwarmCollectViewDestroy | DMSwarmSortGetAccess | DMSwarmSortGetSizes
DMSwarmCreateMassMatrixSquare | DMSwarmSortGetIsValid | DMSwarmSortRestoreAccess
DMSwarmMigrate | DMSwarmSortGetNumberOfPointsPerCell |
No developer routines
No deprecated routines

Table of Contents