sarkas.particles.Particles.lattice#

Particles.lattice(perturb=0.05)[source]#

Place particles in a simple cubic lattice with a slight perturbation ranging from 0 to 0.5 times the lattice spacing.

Parameters

perturb (float) – Value of perturbation, p, such that 0 <= p <= 0.5. Default = 0.05