#include <rotor.h>
Public Member Functions | |
OBRotorList () | |
~OBRotorList () | |
void | Clear () |
int | Size () |
void | Init (std::string &fname) |
void | SetQuiet () |
void | SetFixAtoms (OBBitVec &fix) |
bool | IsFixedBond (OBBond *) |
bool | HasFixedAtoms () |
void | SetRotAtomsByFix (OBMol &) |
bool | SetRotAtoms (OBMol &) |
bool | Setup (OBMol &) |
bool | FindRotors (OBMol &) |
bool | SetEvalAtoms (OBMol &) |
bool | AssignTorVals (OBMol &) |
void | IgnoreSymmetryRemoval () |
void | RemoveSymVals (OBMol &) |
bool | IdentifyEvalAtoms (OBMol &mol) |
Iterator methods | |
OBRotor * | BeginRotor (OBRotorIterator &i) |
OBRotor * | NextRotor (OBRotorIterator &i) |
OBRotorIterator | BeginRotors () |
OBRotorIterator | EndRotors () |
OBRotorList | ( | ) |
~OBRotorList | ( | ) |
void Clear | ( | ) |
Clear the internal list of rotors and reset.
int Size | ( | ) | [inline] |
void Init | ( | std::string & | fname | ) | [inline] |
Intialize the private OBRotorRules database from a specific file.
void SetQuiet | ( | ) | [inline] |
Turn off debugging output.
void SetFixAtoms | ( | OBBitVec & | fix | ) | [inline] |
Set the list of fixed (invariant) atoms to the supplied OBBitVec.
bool IsFixedBond | ( | OBBond * | ) |
Return whether this bond is fixed and thus not rotatable.
bool HasFixedAtoms | ( | ) | [inline] |
void SetRotAtomsByFix | ( | OBMol & | ) |
Set the atoms to rotate from the dihedral atoms for each rotor Insures the fixed atoms are respected, but otherwise functions like SetRotAtoms().
bool SetRotAtoms | ( | OBMol & | ) |
Set the atoms to rotate from the dihedral atoms for each rotor Uses OBRotor->GetDihedralAtoms() to call OBRotor->SetRotAtoms() and standarizes the dihedral angles via OBRotor->SetDihedralAtoms().
bool Setup | ( | OBMol & | ) |
Setup this rotor list for the supplied molecule Calls FindRotors(), SetEvalAtoms(), and AssignTorVals()
bool FindRotors | ( | OBMol & | ) |
Find all potentially rotatable bonds in the molecule Uses OBBond::IsRotor() for initial evaluation
bool SetEvalAtoms | ( | OBMol & | ) |
Determines which atoms should be used to calculate the internal energy if the dihedral angle of the rotor is modified
bool AssignTorVals | ( | OBMol & | ) |
Using the OBRotorRules database, set the torsion values (and delta) to be evaluated and tested
void IgnoreSymmetryRemoval | ( | ) | [inline] |
Has no effect
void RemoveSymVals | ( | OBMol & | ) |
Rotates each bond to zero and 180 degrees and tests if the 2 conformers are duplicates. if so - the symmetric torsion values are removed from consideration during a search
OBRotor* BeginRotor | ( | OBRotorIterator & | i | ) | [inline] |
OBRotor* NextRotor | ( | OBRotorIterator & | i | ) | [inline] |
OBRotorIterator BeginRotors | ( | ) | [inline] |
OBRotorIterator EndRotors | ( | ) | [inline] |
bool IdentifyEvalAtoms | ( | OBMol & | mol | ) | [inline] |