8 #ifndef MOLECULARMECHANICS_INDEXEDSTRUCTURALELEMENTS_H
9 #define MOLECULARMECHANICS_INDEXEDSTRUCTURALELEMENTS_H
12 namespace MolecularMechanics {
52 return ((atom1 == other.atom1) && (atom2 == other.atom2) && (atom3 == other.atom3) && (atom4 == other.atom4));
61 : centralAtom(central), atom2(a2), atom3(a3), atom4(a4) {
81 return (((atom1 == other.atom1) && (atom2 == other.atom2)) || ((atom1 == other.atom2) && (atom2 == other.atom1)));
96 return (((atom1 == other.atom1) && (atom2 == other.atom2)) || ((atom1 == other.atom2) && (atom2 == other.atom1)));
115 #endif // MOLECULARMECHANICS_INDEXEDSTRUCTURALELEMENTS_H
Holds indexes for an angle. The connectivity is atom1 – atom2 – atom3.
Definition: IndexedStructuralElements.h:29
Holds indexes for an excluded non-bonded interaction. (1-2 and 1-3 neighbors)
Definition: IndexedStructuralElements.h:73
Holds indexes for a potentially scaled non-bonded interaction. (1-4 neighbors)
Definition: IndexedStructuralElements.h:88
Holds indexes for a hydrogen-bond interaction.
Definition: IndexedStructuralElements.h:103
Holds indexes for an improper dihedral.
Definition: IndexedStructuralElements.h:59
Holds indexes for a dihedral. The connectivity is atom1 – atom2 – atom3 – atom4.
Definition: IndexedStructuralElements.h:42
Holds indexes for a bond.
Definition: IndexedStructuralElements.h:17