for (int i=0; i<=Lx; i++) // start of the 3 nested for loops to populate atoms of type 1
{
for (int j=0; j<=Ly; j++)
{
for (int k=0; k<=Lz; k++)


Array...