#include "petscdmswarm.h" PETSC_EXTERN PetscErrorCode DMSwarmCreatePointPerCellCount(DM dm,PetscInt *ncells,PetscInt **count)Not collective
ncells | - the number of cells in the cell DM (optional argument, pass NULL to ignore) | |
count | - array of length ncells containing the number of points per cell |