29 #ifndef CDPL_FORCEFIELD_MMFF94STRETCHBENDINTERACTION_HPP
30 #define CDPL_FORCEFIELD_MMFF94STRETCHBENDINTERACTION_HPP
61 unsigned int sb_type_idx,
double ref_angle,
double ref_length1,
double ref_length2,
62 double ijk_force_const,
double kji_force_const):
63 termAtom1Idx(term_atom1_idx),
64 ctrAtomIdx(ctr_atom_idx), termAtom2Idx(term_atom2_idx),
65 sbTypeIdx(sb_type_idx), refAngle(ref_angle), refLength1(ref_length1), refLength2(ref_length2),
66 ijkForceConst(ijk_force_const), kjiForceConst(kji_force_const) {}
137 return ijkForceConst;
146 return kjiForceConst;
204 std::size_t termAtom1Idx;
205 std::size_t ctrAtomIdx;
206 std::size_t termAtom2Idx;
207 unsigned int sbTypeIdx;
211 double ijkForceConst;
212 double kjiForceConst;
Stores paramters for a single MMFF94 stretch-bend coupling interaction.
Definition: MMFF94StretchBendInteraction.hpp:45
std::size_t getTerminalAtom2Index() const
Returns the zero-based index of the second terminal atom k.
Definition: MMFF94StretchBendInteraction.hpp:90
MMFF94StretchBendInteraction(std::size_t term_atom1_idx, std::size_t ctr_atom_idx, std::size_t term_atom2_idx, unsigned int sb_type_idx, double ref_angle, double ref_length1, double ref_length2, double ijk_force_const, double kji_force_const)
Constructs the stretch-bend interaction parameter set.
Definition: MMFF94StretchBendInteraction.hpp:60
double getKJIForceConstant() const
Returns the force constant coupling j-k bond stretching with the central angle.
Definition: MMFF94StretchBendInteraction.hpp:144
std::size_t getCenterAtomIndex() const
Returns the zero-based index of the central atom j.
Definition: MMFF94StretchBendInteraction.hpp:81
double getReferenceLength1() const
Returns the reference length of bond i-j.
Definition: MMFF94StretchBendInteraction.hpp:171
std::size_t getTerminalAtom1Index() const
Returns the zero-based index of the first terminal atom i.
Definition: MMFF94StretchBendInteraction.hpp:72
double getReferenceAngle() const
Returns the reference angle.
Definition: MMFF94StretchBendInteraction.hpp:153
std::size_t getAtom1Index() const
Returns the zero-based index of the first terminal atom (alias for getTerminalAtom1Index()).
Definition: MMFF94StretchBendInteraction.hpp:99
std::size_t getAtom2Index() const
Returns the zero-based index of the central atom (alias for getCenterAtomIndex()).
Definition: MMFF94StretchBendInteraction.hpp:108
double getReferenceLength2() const
Returns the reference length of bond j-k.
Definition: MMFF94StretchBendInteraction.hpp:189
void setReferenceAngle(double angle)
Sets the reference angle.
Definition: MMFF94StretchBendInteraction.hpp:162
unsigned int getStretchBendTypeIndex() const
Returns the MMFF94 stretch-bend type index.
Definition: MMFF94StretchBendInteraction.hpp:126
void setReferenceLength1(double length)
Sets the reference length of bond i-j.
Definition: MMFF94StretchBendInteraction.hpp:180
std::size_t getAtom3Index() const
Returns the zero-based index of the second terminal atom (alias for getTerminalAtom2Index()).
Definition: MMFF94StretchBendInteraction.hpp:117
void setReferenceLength2(double length)
Sets the reference length of bond j-k.
Definition: MMFF94StretchBendInteraction.hpp:198
double getIJKForceConstant() const
Returns the force constant coupling i-j bond stretching with the central angle.
Definition: MMFF94StretchBendInteraction.hpp:135
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.