DMSwarmSortGetNumberOfPointsPerCell#

Returns the number of points in a cell

Synopsis#

Not collective

Input parameters#

  • dm - a DMSwarm objects

  • e - the index of the cell

  • npoints - the number of points in the cell

Notes#

You must call DMSwarmSortGetAccess() before you can call DMSwarmSortGetNumberOfPointsPerCell()

See Also#

DMSwarmSetType(), DMSwarmSortGetAccess(), DMSwarmSortGetPointsPerCell()

Level#

advanced

Location#

src/dm/impls/swarm/swarmpic_sort.c

Examples#

src/dm/tutorials/ex20.c.html
src/ksp/ksp/tutorials/ex70.c.html


Edit on GitLab

Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages