g++ -O neighbor.C spheres.C box.C sphere.C event.C heap.C read_input.CNOTE: With some compilers you may need to rename our own vector.h into something like my_vector.h and change the C++ sources accordingly because it may confuse it with the STL header! Additionally, newer C++ compilers may not include the standard C library headers by default, in which case you need to "#include <cstdlib>" in spheres.C.
n_dims ! Euclidian space dimensionality d
N n_species ! Total number of particles and number of species
N1 [N2...] ! Number of particles in each species
D1 [D2...] ! Sphere diameters for each species
Lambda ! Lattice vectors for unit cell, here a unit cube
T T T ! Periodic boundary conditions along all dimensions
x1 y1 z1 ! Coordinates of first sphere center
x2 y2 z2 ! second, etc...
...