Function lili::particle::DistributeLocationUniform(Particles&, const int, const double, const double, const double, const double, const double, const double)¶
Defined in File itask_particles.cpp
Function Documentation¶
-
void lili::particle::DistributeLocationUniform(Particles &particles, const int seed, const double x0, const double x1, const double y0, const double y1, const double z0, const double z1)¶
Distribute particles uniformly in the simulation domain.
- Parameters:
particles – [in] Particles object
seed – [in] Seed for the random number generator
x0 – [in] Minimum value of the X coordinate
x1 – [in] Maximum value of the X coordinate
y0 – [in] Minimum value of the Y coordinate
y1 – [in] Maximum value of the Y coordinate
z0 – [in] Minimum value of the Z coordinate
z1 – [in] Maximum value of the Z coordinate