Scine::Swoose
2.1.0
This is the SCINE module Swoose.
|
Class treating an improper dihedral interaction, based solely on the angle (in rad), i.e. in 1 dimension. More...
#include <ImproperDihedral.h>
Public Member Functions | |
ImproperDihedral (double forceConstant, double equilibriumAngle) | |
Constructor from a force constant and an equilibrium angle. | |
ImproperDihedral () | |
Constructor without arguments sets both parameters to zero and records that no parameters are available for this improper dihedral, hence throwing an exception if getInteraction() is called. This will not throw any error if the corresponding improper dihedral term is disabled (e.g., in a QM/MM calculation). | |
bool | hasParameters () const |
Returns whether parameters are available for this improper dihedral. | |
Utils::AutomaticDifferentiation::Second1D | getInteraction (double angle) const |
Calculates the energy and its derivative for a given angle. | |
Static Public Member Functions | |
static double | getPlanarGroupThreshold () |
Getter for the threshold that decides whether a group is considered planar for improper dihedrals. | |
Class treating an improper dihedral interaction, based solely on the angle (in rad), i.e. in 1 dimension.