PETSc version 3.17.0
DMSwarmSetNumSpecies
Set the number of particle species
Synopsis
#include "petscdmswarm.h"
PetscErrorCode DMSwarmSetNumSpecies(DM sw, PetscInt Ns)
Not collective
Input parameter
| dm | - the DMSwarm
|
| Ns | - the number of species
|
See Also
DMSwarmGetNumSpecies(), DMSwarmSetType(), DMSwarmType
Level
intermediate
Location
src/dm/impls/swarm/swarmpic.c
Index of all DMSWARM routines
Table of Contents for all manual pages
Index of all manual pages