sarkas.particles.Particles.halton_reject#

Particles.halton_reject(bases, r_reject)[source]#

Place particles according to a Halton sequence from 0 to LP (the initial particle box length) and uses a rejection radius to avoid placing particles to close to each other.

Parameters
  • bases (numpy.ndarray) – Array of 3 ints each of which is a base for the Halton sequence. Defualt: bases = array([2,3,5])

  • r_reject (float) – Value of rejection radius.