mc_lj_potential.MCState¶
-
class
mc_lj_potential.MCState(box1, cutoff)¶ -
__init__(box1, cutoff)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(box1, cutoff)Initialize self.
Computes the standard tail correction for Lennard Jones potential.
Computes the total energy of the system.
Computes the unit energy per particle in the system.
get_particle_energy(i_particle)Computes the energy of a particle with respect to the rest of the system.
lennard_jones_potential(rij2)Computes the Lennard Jones potential between an atom pair.
-