DMSwarmGetCoordinateFunction#

Get the function setting initial particle positions, if it exists

Synopsis#

#include "petscdmswarm.h"   
PetscErrorCode DMSwarmGetCoordinateFunction(DM sw, PetscSimplePointFn **coordFunc)

Not Collective

Input Parameter#

Output Parameter#

  • coordFunc - the function setting initial particle positions, or NULL, see PetscSimplePointFn for the calling sequence

See Also#

DMSWARM, DMSwarmSetCoordinateFunction(), DMSwarmGetVelocityFunction(), DMSwarmInitializeCoordinates(), PetscSimplePointFn

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