29 #ifndef CDPL_FORCEFIELD_MMFF94BONDSTRETCHINGINTERACTION_HPP
30 #define CDPL_FORCEFIELD_MMFF94BONDSTRETCHINGINTERACTION_HPP
57 double force_const,
double ref_length):
59 atom2Idx(atom2_idx), bondTypeIdx(bond_type_idx), forceConst(force_const), refLength(ref_length) {}
116 std::size_t atom1Idx;
117 std::size_t atom2Idx;
118 unsigned int bondTypeIdx;
Stores parameters for a single MMFF94 bond-stretching interaction between two bonded atoms.
Definition: MMFF94BondStretchingInteraction.hpp:45
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:56
double getReferenceLength() const
Returns the reference bond length.
Definition: MMFF94BondStretchingInteraction.hpp:101
unsigned int getBondTypeIndex() const
Returns the MMFF94 bond type index of this bond.
Definition: MMFF94BondStretchingInteraction.hpp:83
double getForceConstant() const
Returns the bond-stretching force constant.
Definition: MMFF94BondStretchingInteraction.hpp:92
void setReferenceLength(double length)
Sets the reference bond length.
Definition: MMFF94BondStretchingInteraction.hpp:110
std::size_t getAtom1Index() const
Returns the zero-based index of the first bonded atom.
Definition: MMFF94BondStretchingInteraction.hpp:65
std::size_t getAtom2Index() const
Returns the zero-based index of the second bonded atom.
Definition: MMFF94BondStretchingInteraction.hpp:74
VectorNorm2< E >::ResultType length(const VectorExpression< E > &e)
Returns the length (L2 norm) of the vector expression e (alias of norm2()).
Definition: VectorExpression.hpp:979
The namespace of the Chemical Data Processing Library.