29 #ifndef CDPL_FORCEFIELD_MMFF94ANGLEBENDINGINTERACTION_HPP
30 #define CDPL_FORCEFIELD_MMFF94ANGLEBENDINGINTERACTION_HPP
59 unsigned int angle_type_idx,
bool linear,
double force_const,
double ref_angle):
60 termAtom1Idx(term_atom1_idx),
61 ctrAtomIdx(ctr_atom_idx), termAtom2Idx(term_atom2_idx),
62 angleTypeIdx(angle_type_idx), linear(linear), forceConst(force_const), refAngle(ref_angle) {}
164 std::size_t termAtom1Idx;
165 std::size_t ctrAtomIdx;
166 std::size_t termAtom2Idx;
167 unsigned int angleTypeIdx;
Stores parameters for a single MMFF94 angle-bending interaction defined over an atom triplet.
Definition: MMFF94AngleBendingInteraction.hpp:45
std::size_t getAtom2Index() const
Returns the zero-based index of the central atom (alias for getCenterAtomIndex()).
Definition: MMFF94AngleBendingInteraction.hpp:104
std::size_t getAtom1Index() const
Returns the zero-based index of the first terminal atom (alias for getTerminalAtom1Index()).
Definition: MMFF94AngleBendingInteraction.hpp:95
std::size_t getCenterAtomIndex() const
Returns the zero-based index of the central (vertex) atom.
Definition: MMFF94AngleBendingInteraction.hpp:77
double getForceConstant() const
Returns the angle-bending force constant.
Definition: MMFF94AngleBendingInteraction.hpp:140
std::size_t getTerminalAtom2Index() const
Returns the zero-based index of the second terminal atom.
Definition: MMFF94AngleBendingInteraction.hpp:86
bool isLinearAngle() const
Tells whether the equilibrium angle is near linear (180°).
Definition: MMFF94AngleBendingInteraction.hpp:131
unsigned int getAngleTypeIndex() const
Returns the MMFF94 angle type index.
Definition: MMFF94AngleBendingInteraction.hpp:122
std::size_t getTerminalAtom1Index() const
Returns the zero-based index of the first terminal atom.
Definition: MMFF94AngleBendingInteraction.hpp:68
MMFF94AngleBendingInteraction(std::size_t term_atom1_idx, std::size_t ctr_atom_idx, std::size_t term_atom2_idx, unsigned int angle_type_idx, bool linear, double force_const, double ref_angle)
Constructs the angle-bending interaction parameter set.
Definition: MMFF94AngleBendingInteraction.hpp:58
std::size_t getAtom3Index() const
Returns the zero-based index of the second terminal atom (alias for getTerminalAtom2Index()).
Definition: MMFF94AngleBendingInteraction.hpp:113
double getReferenceAngle() const
Returns the reference angle.
Definition: MMFF94AngleBendingInteraction.hpp:149
void setReferenceAngle(double angle)
Sets the reference angle.
Definition: MMFF94AngleBendingInteraction.hpp:158
The namespace of the Chemical Data Processing Library.