8 #ifndef MOLECULARMECHANICS_LENNARDJONES_H
9 #define MOLECULARMECHANICS_LENNARDJONES_H
14 namespace MolecularMechanics {
45 bool parametersAreAvailable_;
51 #endif // MOLECULARMECHANICS_LENNARDJONES_H
double distance(const PositionCollection &p1, const PositionCollection &p2)
Utils::AutomaticDifferentiation::Second1D getInteraction(double distance) const
Evaluates the energy and its derivatives for one LJ term.
Definition: LennardJones.cpp:24
bool hasParameters() const
Returns whether parameters are available for this LJ.
Definition: LennardJones.cpp:20
Class treating a non-bonded van der Waals interaction with a LJ potential, based solely on the bond l...
Definition: LennardJones.h:20
LennardJones()
Constructor without arguments sets both parameters to zero and records that no parameters are availab...
Definition: LennardJones.cpp:17