29 #ifndef CDPL_FORCEFIELD_MMFF94ANGLEBENDINGINTERACTION_HPP
30 #define CDPL_FORCEFIELD_MMFF94ANGLEBENDINGINTERACTION_HPP
60 unsigned int angle_type_idx,
bool linear,
double force_const,
double ref_angle):
61 termAtom1Idx(term_atom1_idx),
62 ctrAtomIdx(ctr_atom_idx), termAtom2Idx(term_atom2_idx),
63 angleTypeIdx(angle_type_idx), linear(linear), forceConst(force_const), refAngle(ref_angle) {}
165 std::size_t termAtom1Idx;
166 std::size_t ctrAtomIdx;
167 std::size_t termAtom2Idx;
168 unsigned int angleTypeIdx;
Stores parameters for a single MMFF94 angle-bending interaction defined over an atom triplet.
Definition: MMFF94AngleBendingInteraction.hpp:46
std::size_t getAtom2Index() const
Returns the zero-based index of the central atom (alias for getCenterAtomIndex()).
Definition: MMFF94AngleBendingInteraction.hpp:105
std::size_t getAtom1Index() const
Returns the zero-based index of the first terminal atom (alias for getTerminalAtom1Index()).
Definition: MMFF94AngleBendingInteraction.hpp:96
std::size_t getCenterAtomIndex() const
Returns the zero-based index of the central (vertex) atom.
Definition: MMFF94AngleBendingInteraction.hpp:78
double getForceConstant() const
Returns the angle-bending force constant.
Definition: MMFF94AngleBendingInteraction.hpp:141
std::size_t getTerminalAtom2Index() const
Returns the zero-based index of the second terminal atom.
Definition: MMFF94AngleBendingInteraction.hpp:87
bool isLinearAngle() const
Tells whether the equilibrium angle is near linear (180°).
Definition: MMFF94AngleBendingInteraction.hpp:132
unsigned int getAngleTypeIndex() const
Returns the MMFF94 angle type index.
Definition: MMFF94AngleBendingInteraction.hpp:123
std::size_t getTerminalAtom1Index() const
Returns the zero-based index of the first terminal atom.
Definition: MMFF94AngleBendingInteraction.hpp:69
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:59
std::size_t getAtom3Index() const
Returns the zero-based index of the second terminal atom (alias for getTerminalAtom2Index()).
Definition: MMFF94AngleBendingInteraction.hpp:114
double getReferenceAngle() const
Returns the reference angle.
Definition: MMFF94AngleBendingInteraction.hpp:150
void setReferenceAngle(double angle)
Sets the reference angle.
Definition: MMFF94AngleBendingInteraction.hpp:159
The namespace of the Chemical Data Processing Library.