DMSwarmSortGetPointsPerCell#
Creates an array of point indices for all points in a cell
Synopsis#
#include "petscdmda.h"
#include "petscdmplex.h"
#include "petscdmswarm.h"
PetscErrorCode DMSwarmSortGetPointsPerCell(DM sw, PetscInt cell, PetscInt *npoints, PetscInt **pidlist)
Not Collective
Input Parameters#
Note#
You must call DMSwarmSortGetAccess() before you can call DMSwarmSortGetPointsPerCell(), and call DMSwarmRestorePointsPerCell() afterwards
See Also#
DMSWARM, DMSwarmSetType(), DMSwarmRestorePointsPerCell(), DMSwarmSortGetAccess(), DMSwarmSortGetNumberOfPointsPerCell()
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