:orphan: # DMSwarmGetCellDM Fetches the attached cell `DM` ## Synopsis ``` #include "petscdmswarm.h" PetscErrorCode DMSwarmGetCellDM(DM dm, DM *dmcell) ``` Collective ## Input parameter - ***dm -*** a `DMSWARM` ## Output parameter - ***dmcell -*** the `DM` which was attached to the `DMSWARM` ## See Also `DM`, `DMSWARM`, `DMSwarmSetCellDM()` ## Level beginner ## Location src/dm/impls/swarm/swarm.c ## Examples src/ksp/ksp/tutorials/ex70.c
src/ts/tutorials/ex77.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/swarm/swarm.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)