petsc-3.10.2 2018-10-09
Report Typos and Errors

DMSWARM Examples

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 DMSwarmSortGetAccess DMSwarmSortGetSizes
DMSwarmCollectViewDestroy DMSwarmSortGetIsValid DMSwarmSortRestoreAccess
DMSwarmMigrate DMSwarmSortGetNumberOfPointsPerCell
DMSwarmSetType DMSwarmSortGetPointsPerCell
No developer routines
No deprecated routines

Table of Contents