where n (r) is the mean number of atoms in a shell of width Δ r at distance r. The g(r) of a simulation box can be calculated easily by histograming the particle separations using the following equation