DMSwarmSetVelocityFunction#
Set the function setting initial particle velocities
Synopsis#
#include "petscdmswarm.h"
PetscErrorCode DMSwarmSetVelocityFunction(DM sw, PetscSimplePointFunc velFunc)
Not Collective
Input Parameters#
sw - the
DMSWARM
velFunc - the function setting initial particle velocities
See Also#
DMSWARM
, DMSwarmGetVelocityFunction()
, DMSwarmSetCoordinateFunction()
, DMSwarmInitializeVelocities()
Level#
intermediate
Location#
Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages