DMSwarmSortGetNumberOfPointsPerCell#
Returns the number of points in a cell
Synopsis#
PetscErrorCode DMSwarmSortGetNumberOfPointsPerCell(DM dm, PetscInt e, PetscInt *npoints)
Not Collective
Input parameters#
dm - a
DMSWARM
objectse - 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#
DMSWARM
, DMSwarmSetType()
, DMSwarmSortGetAccess()
, DMSwarmSortGetPointsPerCell()
Level#
advanced
Location#
Examples#
src/dm/tutorials/ex20.c
src/ksp/ksp/tutorials/ex70.c
Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages