:orphan: # DMSwarmSetMigrateType Set the style of point migration ## Synopsis ``` #include "petscdmswarm.h" PetscErrorCode DMSwarmSetMigrateType(DM dm, DMSwarmMigrateType mtype) ``` Logically Collective ## Input parameters - ***dm -*** the `DMSWARM` - ***mtype -*** The migration type, see `DMSwarmMigrateType` ## See Also `DM`, `DMSWARM`, `DMSwarmMigrateType`, `DMSwarmGetMigrateType()`, `DMSwarmMigrateType`, `DMSwarmMigrate()` ## Level intermediate ## Location src/dm/impls/swarm/swarm_migrate.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/swarm/swarm_migrate.c) [Index of all DMSwarm routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)