randbox


Basic randbox options are:

-h, -- help
Prints help information
-n, --numpart
Number of particle in the system [number], (required)
-m, --min
Minumum separation between points, (default is 0.0)
-d, --dim
Integer number of dimensions (default is 3)
-r, --region
xmin,xmax,ymin,ymax,zmin,zmax (no spaces, required)
-s, --seed
uint,uint,uint (no spaces)
-b, --boundary
p for periodic, h for hard (ex: pph = periodic in xy, hard in z) Note: Hard Boundary Conditions are not currently supported
-i, --maxiter
maximum number of attempts (default is 1e7)

examples:

randbox -n 500 -min 0.05 -r -20,20,-20,20,-20,20
Will generate x,y,z coordinates in xyz format for 500 particles in a 40x40x40 box centered on the orgin, with individual particles no closer than 0.05 units apart.