DMSwarmGetVelocityFunction#
Get the function setting initial particle velocities, if it exists
Synopsis#
#include "petscdmswarm.h"
PetscErrorCode DMSwarmGetVelocityFunction(DM sw, PetscSimplePointFn **velFunc)
Not Collective
Input Parameter#
sw - the
DMSWARM
Output Parameter#
velFunc - the function setting initial particle velocities, or
NULL
, seePetscSimplePointFn
for the calling sequence
See Also#
DMSWARM
, DMSwarmSetVelocityFunction()
, DMSwarmGetCoordinateFunction()
, DMSwarmInitializeVelocities()
, PetscSimplePointFn
Level#
intermediate
Location#
Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages