#include "petscdmswarm.h" PETSC_EXTERN PetscErrorCode DMSwarmSetPointsUniformCoordinates(DM dm,PetscReal min[],PetscReal max[],PetscInt npoints[],InsertMode mode)Collective on DM
| dm | - the DMSwarm | |
| min | - minimum coordinate values in the x, y, z directions (array of length dim) | |
| max | - maximum coordinate values in the x, y, z directions (array of length dim) | |
| npoints | - number of points in each spatial direction (array of length dim) | |
| mode | - indicates whether to append points to the swarm (ADD_VALUES), or over-ride existing points (INSERT_VALUES) |