DMSwarmMigrateType#
Selects the algorithm used by DMSwarmMigrate() to move particles between MPI processes
Synopsis#
Values#
DMSWARM_MIGRATE_BASIC- inspect each particle’s owner rank and send it to that rank; assumes the user (or another code path) has already set the rank field correctlyDMSWARM_MIGRATE_DMCELLNSCATTER- use the backgroundDMto determine the target rank approximately, then scatter without verifying that the destination cell contains the point (cheaper, can leave particles in neighbors)DMSWARM_MIGRATE_DMCELLEXACT- use the backgroundDMand perform an exact point-location step before sending (more expensive, guarantees correct placement)DMSWARM_MIGRATE_USER- call a user-supplied migration function rather than one of the built-in strategies
See Also#
DM Basics, DM, DMSWARM, DMSwarmMigrate(), DMSwarmSetMigrateType(), DMSwarmGetMigrateType()
Level#
intermediate
Location#
Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages