TwelveSixLjPotential
SimulationBuilder > Shared > Potentials
The TwelveSixLjPotential class calculates the Lennard-Jones potential, force and virial for a pair of atoms with separation "r."
Synopsis
#include <glotzilla++.h> //declare an instance TwelveSixLjPotential my_potential; //set some parameters my_potential -> SetSigma(1.0); my_potential -> SetEpsilon(0.5); my_potential -> SetCutoff(2.50); //
External Links