#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 | ( | void | ) |
int Size | ( | ) | [inline] |
Referenced by OBForceField::RandomRotorSearchInitialize(), OBRotorList::Setup(), OBForceField::SystematicRotorSearchInitialize(), and OBForceField::WeightedRotorSearch().
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 * | bond | ) |
Return whether this bond is fixed and thus not rotatable.
Referenced by OBRotorList::FindRotors(), and OBRotorList::SetEvalAtoms().
bool HasFixedAtoms | ( | ) | [inline] |
Referenced by OBRotorList::FindRotors(), and OBRotorList::SetEvalAtoms().
void SetRotAtomsByFix | ( | OBMol & | mol | ) |
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 & | mol | ) |
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 & | mol | ) |
Setup this rotor list for the supplied molecule Calls FindRotors(), SetEvalAtoms(), and AssignTorVals()
Referenced by OBForceField::RandomRotorSearchInitialize(), OBForceField::SystematicRotorSearchInitialize(), and OBForceField::WeightedRotorSearch().
bool FindRotors | ( | OBMol & | mol | ) |
Find all potentially rotatable bonds in the molecule Uses OBBond::IsRotor() for initial evaluation
Referenced by OBRotorList::Setup().
bool SetEvalAtoms | ( | OBMol & | mol | ) |
Determines which atoms should be used to calculate the internal energy if the dihedral angle of the rotor is modified
Referenced by OBRotorList::Setup().
bool AssignTorVals | ( | OBMol & | mol | ) |
Using the OBRotorRules database, set the torsion values (and delta) to be evaluated and tested
Referenced by OBRotorList::Setup().
void IgnoreSymmetryRemoval | ( | ) | [inline] |
Has no effect
void RemoveSymVals | ( | OBMol & | mol | ) |
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] |
Referenced by OBForceField::RandomRotorSearchInitialize(), OBRotorList::RemoveSymVals(), OBRotorList::SetEvalAtoms(), OBRotorList::SetRotAtoms(), OBRotorList::SetRotAtomsByFix(), OBRotorList::Setup(), OBRotamerList::Setup(), OBForceField::SystematicRotorSearchInitialize(), and OBForceField::WeightedRotorSearch().
OBRotor* NextRotor | ( | OBRotorIterator & | i | ) | [inline] |
Referenced by OBForceField::RandomRotorSearchInitialize(), OBRotorList::RemoveSymVals(), OBRotorList::SetEvalAtoms(), OBRotorList::SetRotAtoms(), OBRotorList::SetRotAtomsByFix(), OBRotorList::Setup(), OBRotamerList::Setup(), OBForceField::SystematicRotorSearchInitialize(), and OBForceField::WeightedRotorSearch().
OBRotorIterator BeginRotors | ( | ) | [inline] |
OBRotorIterator EndRotors | ( | ) | [inline] |
bool IdentifyEvalAtoms | ( | OBMol & | mol | ) | [inline] |