petsc-3.8.3 2017-12-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 DMSwarmGetCellDM DMSwarmRemovePoint
DMSwarmAddNPoints DMSwarmGetField DMSwarmRemovePointAtIndex
DMSwarmAddPoint DMSwarmGetLocalSize DMSwarmRestoreField
DMSwarmCopyPoint DMSwarmGetSize DMSwarmSetCellDM
DMSwarmCreateGlobalVectorFromField DMSwarmInitializeFieldRegister DMSwarmSetLocalSizes
DMSwarmCreateLocalVectorFromField DMSwarmInsertPointsUsingCellDM DMSwarmSetPointCoordinates
DMSwarmCreatePointPerCellCount DMSwarmProjectFields DMSwarmSetPointsUniformCoordinates
DMSwarmDestroyGlobalVectorFromField DMSwarmRegisterPetscDatatypeField DMSwarmVectorDefineField
DMSwarmDestroyLocalVectorFromField DMSwarmRegisterUserDatatypeField DMSwarmViewFieldsXDMF
DMSwarmFinalizeFieldRegister DMSwarmRegisterUserStructField DMSwarmViewXDMF
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