:orphan: # DMSwarmRemovePoint Remove the last point from the `DMSWARM` ## Synopsis ``` #include "petscdmswarm.h" PetscErrorCode DMSwarmRemovePoint(DM dm) ``` Not Collective ## Input parameter - ***dm -*** a `DMSWARM` ## See Also `DM`, `DMSWARM`, `DMSwarmRemovePointAtIndex()` ## Level beginner ## Location src/dm/impls/swarm/swarm.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)