29 #ifndef CDPL_FORCEFIELD_MMFF94BONDSTRETCHINGINTERACTION_HPP
30 #define CDPL_FORCEFIELD_MMFF94BONDSTRETCHINGINTERACTION_HPP
58 double force_const,
double ref_length):
60 atom2Idx(atom2_idx), bondTypeIdx(bond_type_idx), forceConst(force_const), refLength(ref_length) {}
117 std::size_t atom1Idx;
118 std::size_t atom2Idx;
119 unsigned int bondTypeIdx;
Stores parameters for a single MMFF94 bond-stretching interaction between two bonded atoms.
Definition: MMFF94BondStretchingInteraction.hpp:46
MMFF94BondStretchingInteraction(std::size_t atom1_idx, std::size_t atom2_idx, unsigned int bond_type_idx, double force_const, double ref_length)
Constructs the bond-stretching interaction parameter set.
Definition: MMFF94BondStretchingInteraction.hpp:57
double getReferenceLength() const
Returns the reference bond length.
Definition: MMFF94BondStretchingInteraction.hpp:102
unsigned int getBondTypeIndex() const
Returns the MMFF94 bond type index of this bond.
Definition: MMFF94BondStretchingInteraction.hpp:84
double getForceConstant() const
Returns the bond-stretching force constant.
Definition: MMFF94BondStretchingInteraction.hpp:93
void setReferenceLength(double length)
Sets the reference bond length.
Definition: MMFF94BondStretchingInteraction.hpp:111
std::size_t getAtom1Index() const
Returns the zero-based index of the first bonded atom.
Definition: MMFF94BondStretchingInteraction.hpp:66
std::size_t getAtom2Index() const
Returns the zero-based index of the second bonded atom.
Definition: MMFF94BondStretchingInteraction.hpp:75
VectorNorm2< E >::ResultType length(const VectorExpression< E > &e)
Returns the length (L2 norm) of the vector expression e (alias of norm2()).
Definition: VectorExpression.hpp:1129
The namespace of the Chemical Data Processing Library.