8 #ifndef MMIMPROPERDIHEDRAL_H
9 #define MMIMPROPERDIHEDRAL_H
14 namespace MolecularMechanics {
46 double forceConstant_;
47 double equilibriumAngle_;
48 bool parametersAreAvailable_;
49 static constexpr
double planarGroupThreshold_ = 20.0;
55 #endif // MMIMPROPERDIHEDRAL_H
static double getPlanarGroupThreshold()
Getter for the threshold that decides whether a group is considered planar for improper dihedrals...
Definition: ImproperDihedral.cpp:43
Class treating an improper dihedral interaction, based solely on the angle (in rad), i.e. in 1 dimension.
Definition: ImproperDihedral.h:19
bool hasParameters() const
Returns whether parameters are available for this improper dihedral.
Definition: ImproperDihedral.cpp:25
ImproperDihedral()
Constructor without arguments sets both parameters to zero and records that no parameters are availab...
Definition: ImproperDihedral.cpp:22
Utils::AutomaticDifferentiation::Second1D getInteraction(double angle) const
Calculates the energy and its derivative for a given angle.
Definition: ImproperDihedral.cpp:31