Function lili::particle::DistributeLocationUniform(Particles&, const int, const mesh::MeshSize&)¶
Defined in File itask_particles.cpp
Function Documentation¶
-
void lili::particle::DistributeLocationUniform(Particles &particles, const int seed, const mesh::MeshSize &domain_size)¶
Distribute particles uniformly in the simulation domain.
- Parameters:
particles – [in] Particle object
seed – [in] Seed for the random number generator
domain_size – [in] MeshSize object of the domain