:orphan: # DMSwarmRemovePointAtIndex Removes a specific point from the `DMSWARM` ## Synopsis ``` #include "petscdmswarm.h" PetscErrorCode DMSwarmRemovePointAtIndex(DM dm, PetscInt idx) ``` Not Collective ## Input parameters - ***dm -*** a `DMSWARM` - ***idx -*** index of point to remove ## See Also `DM`, `DMSWARM`, `DMSwarmRemovePoint()` ## 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)