Scine::Swoose  2.1.0
This is the SCINE module Swoose.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
ImproperDihedralParameters.h
Go to the documentation of this file.
1 
8 #ifndef MOLECULARMECHANICS_IMPROPERDIHEDRALPARAMETERS_H
9 #define MOLECULARMECHANICS_IMPROPERDIHEDRALPARAMETERS_H
10 
11 #include "../Interactions/ImproperDihedral.h"
12 
13 namespace Scine {
14 namespace MolecularMechanics {
20  public:
25  ImproperDihedralParameters(double forceConstant, double equilibriumAngle);
26 
31 
33  void setForceConstant(const double& fc);
35  void setEquilibriumAngle(const double& eqAng);
37  double getForceConstant() const;
39  double getEquilibriumAngle() const;
40 
41  private:
42  double forceConstant_; // unit: kcal/mol
43  double equilibriumAngle_; // unit: degrees
44 };
45 
46 } // namespace MolecularMechanics
47 } // namespace Scine
48 
49 #endif // MOLECULARMECHANICS_IMPROPERDIHEDRALPARAMETERS_H
Definition: ImproperDihedralParameters.h:19
Class treating an improper dihedral interaction, based solely on the angle (in rad), i.e. in 1 dimension.
Definition: ImproperDihedral.h:19
double getEquilibriumAngle() const
Getter for the equilibrium angle.
Definition: ImproperDihedralParameters.cpp:34
ImproperDihedral toMMImproperDihedral() const
Method returning the MMImproperDihedral analogon to be used in the calculation.
Definition: ImproperDihedralParameters.cpp:18
ImproperDihedralParameters(double forceConstant, double equilibriumAngle)
Constructor.
Definition: ImproperDihedralParameters.cpp:14
void setEquilibriumAngle(const double &eqAng)
Setter for the equilibrium angle.
Definition: ImproperDihedralParameters.cpp:26
double getForceConstant() const
Getter for the force constant.
Definition: ImproperDihedralParameters.cpp:30
void setForceConstant(const double &fc)
Setter for the force constant.
Definition: ImproperDihedralParameters.cpp:22