:orphan:
# DMSwarmGetMigrateType
Get the style of point migration 
## Synopsis
```
#include "petscdmswarm.h"   
PetscErrorCode DMSwarmGetMigrateType(DM dm, DMSwarmMigrateType *mtype)
```
Logically Collective


## Input parameter

- ***dm    -*** the `DMSWARM`



## Output parameter

- ***mtype -*** The migration type, see `DMSwarmMigrateType`





## See Also
 `DM`, `DMSWARM`, `DMSwarmMigrateType`, `DMSwarmGetMigrateType()`, `DMSwarmMigrateType`, `DMSwarmMigrate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/swarm/swarm_migrate.c.html#DMSwarmGetMigrateType">src/dm/impls/swarm/swarm_migrate.c</A>


---
[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)  
