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