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