DMSwarmSetCoordinateFunction#
Set the function setting initial particle positions
Synopsis#
#include "petscdmswarm.h"
PetscErrorCode DMSwarmSetCoordinateFunction(DM sw, PetscSimplePointFunc coordFunc)
Not Collective
Input parameters#
dm - the
DMSWARM
coordFunc - the function setting initial particle positions
See Also#
DMSWARM
, DMSwarmGetCoordinateFunction()
, DMSwarmSetVelocityFunction()
, DMSwarmInitializeCoordinates()
Level#
intermediate
Location#
Index of all DMSwarm routines
Table of Contents for all manual pages
Index of all manual pages