8 #ifndef MOLECULARMECHANICS_ANGLE_H
9 #define MOLECULARMECHANICS_ANGLE_H
14 namespace MolecularMechanics {
22 Angle(
double equilibriumAngle,
double forceConstant);
37 double equilibriumAngle_;
38 double forceConstant_;
39 bool parametersAreAvailable_;
45 #endif // MOLECULARMECHANICS_ANGLE_H
bool hasParameters() const
Returns whether parameters are available for this angle.
Definition: Angle.cpp:20
Class treating an angle interaction,based solely on the angle (in rad), i.e. in 1 dimension...
Definition: Angle.h:19
Utils::AutomaticDifferentiation::Second1D getInteraction(double angle) const
Calculates the energy with derivatives of one angle term based on the angle.
Definition: Angle.cpp:24
Angle()
Constructor without arguments sets both parameters to zero and records that no parameters are availab...
Definition: Angle.cpp:17