Scine::Swoose  2.1.0
This is the SCINE module Swoose.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
BondParameters.h
Go to the documentation of this file.
1 
8 #ifndef MOLECULARMECHANICS_BONDPARAMETERS_H
9 #define MOLECULARMECHANICS_BONDPARAMETERS_H
10 
11 #include "../Interactions/Bond.h"
12 
13 namespace Scine {
14 namespace MolecularMechanics {
20  public:
25  BondParameters(double forceConstant, double equilibriumBondLength);
26 
30  Bond toMMBond() const;
31 
33  void setForceConstant(const double& fc);
35  void setEquilibriumBondLength(const double& eqBoLen);
37  double getForceConstant() const;
39  double getEquilibriumBondLength() const;
40 
41  private:
42  double forceConstant_; // Unit: kcal/(mol*(Angstrom^2))
43  double equilibriumBondLength_; // Unit: Angstrom
44 };
45 
46 } // namespace MolecularMechanics
47 } // namespace Scine
48 
49 #endif // MOLECULARMECHANICS_BONDPARAMETERS_H
void setForceConstant(const double &fc)
Setter for the force constant.
Definition: BondParameters.cpp:27
void setEquilibriumBondLength(const double &eqBoLen)
Setter for the equilibrium bond length.
Definition: BondParameters.cpp:31
Bond toMMBond() const
Method returning the MMBond analogon with the right unit conversions to be used in the calculation...
Definition: BondParameters.cpp:22
Class treating a bonded interaction, based solely on the bond length. (i.e. in 1 dimension) ...
Definition: Bond.h:19
double getForceConstant() const
Getter for the force constant.
Definition: BondParameters.cpp:35
Class containing the parameters for an MM bond.
Definition: BondParameters.h:19
double getEquilibriumBondLength() const
Getter for the force constantequilibrium bond length.
Definition: BondParameters.cpp:39
BondParameters(double forceConstant, double equilibriumBondLength)
Constructor.
Definition: BondParameters.cpp:18