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#
sw - the
DMSWARM
Output Parameter#
coordFunc - the function setting initial particle positions, or
NULL, seePetscSimplePointFnfor the calling sequence
See Also#
DMSWARM, DMSwarmSetCoordinateFunction(), DMSwarmGetVelocityFunction(), DMSwarmInitializeCoordinates(), PetscSimplePointFn
Level#
intermediate
Location#
Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages