sarkas.particles.Particles.random_reject#

Particles.random_reject(r_reject)[source]#

Place particles by sampling a uniform distribution from 0 to LP (the initial particle box length) and uses a rejection radius to avoid placing particles to close to each other.

Parameters

r_reject (float) – Value of rejection radius.