mc_lj_potential.Box.num_particles

property Box.num_particles

Property decorator function which calculates the number of particles in the cubic simulation box.

coordinatesnp.array(num_particles,3)

A numpy array with the x, y and z coordinates of each atom in the simulation box.

Returns

num_particles=number of particles in the simulation box : integer