DMSwarmSetCoordinateField#

Set the name of the field holding particle coordinates

Synopsis#

#include "petscdmswarm.h"   
PetscErrorCode DMSwarmSetCoordinateField(DM sw, const char fieldname[])

Not Collective

Input Parameters#

  • sw - a DMSWARM

  • fieldname - the name of the coordinate field

See Also#

DM, DMSWARM, DMSwarmGetCoordinateField(), DMSwarmGetField(), DMSwarmSetCellDM(), DMSwarmMigrate()

Level#

intermediate

Location#

src/dm/impls/swarm/swarm.c


Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages