8 #ifndef MOLECULARMECHANICS_BOND_H
9 #define MOLECULARMECHANICS_BOND_H
14 namespace MolecularMechanics {
24 Bond(
double equilibriumDistance,
double forceConstant);
41 double equilibriumDistance_;
42 double forceConstant_;
43 bool parametersAreAvailable_;
49 #endif // MOLECULARMECHANICS_BOND_H
Bond()
Constructor without arguments sets both parameters to zero and records that no parameters are availab...
Definition: Bond.cpp:17
bool hasParameters() const
Returns whether parameters are available for this bond.
Definition: Bond.cpp:20
Class treating a bonded interaction, based solely on the bond length. (i.e. in 1 dimension) ...
Definition: Bond.h:19
Utils::AutomaticDifferentiation::Second1D getInteraction(double bondLength) const
Evaluates the energy and its derivatives for one bond.
Definition: Bond.cpp:24