Scine::Swoose  2.1.0
This is the SCINE module Swoose.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
HydrogenBond.h
Go to the documentation of this file.
1 
8 #ifndef MOLECULARMECHANICS_HYDROGENBOND_H
9 #define MOLECULARMECHANICS_HYDROGENBOND_H
10 
12 
13 namespace Scine {
14 namespace MolecularMechanics {
20 class HydrogenBond {
21  public:
23  HydrogenBond();
24 
29  double chargeAcceptor, double constantDonor,
30  double constantAcceptor) const;
35  Utils::AutomaticDifferentiation::Second1D getInteractionAngleVariable(double distance, double angle, double chargeDonor,
36  double chargeAcceptor, double constantDonor,
37  double constantAcceptor) const;
38 };
39 
40 } // namespace MolecularMechanics
41 } // namespace Scine
42 
43 #endif // MOLECULARMECHANICS_HYDROGENBOND_H
Class calculating the energy and derivatives for a hydrogen bond based solely on the distance or on t...
Definition: HydrogenBond.h:20
double distance(const PositionCollection &p1, const PositionCollection &p2)
HydrogenBond()
Default Constructor.
Definition: HydrogenBond.cpp:20
Utils::AutomaticDifferentiation::Second1D getInteractionAngleVariable(double distance, double angle, double chargeDonor, double chargeAcceptor, double constantDonor, double constantAcceptor) const
Calculate energy contribution from the angle with derivatives.
Definition: HydrogenBond.cpp:46
Utils::AutomaticDifferentiation::Second1D getInteractionDistanceVariable(double distance, double angle, double chargeDonor, double chargeAcceptor, double constantDonor, double constantAcceptor) const
Calculate energy contribution from the distance with derivatives.
Definition: HydrogenBond.cpp:24