Open Babel
3.0
|
#include <openbabel/generic.h>
Public Member Functions | |
OBOrbitalData () | |
virtual | ~OBOrbitalData () |
virtual OBGenericData * | Clone (OBBase *) const |
OBOrbitalData & | operator= (const OBOrbitalData &) |
void | SetAlphaOrbitals (std::vector< OBOrbital > orbitalList) |
void | SetBetaOrbitals (std::vector< OBOrbital > orbitalList) |
void | SetHOMO (int alpha, int beta=0) |
void | SetOpenShell (bool openShell) |
bool | IsOpenShell () |
unsigned int | GetAlphaHOMO () |
unsigned int | GetBetaHOMO () |
std::vector< OBOrbital > | GetAlphaOrbitals () |
std::vector< OBOrbital > | GetBetaOrbitals () |
void | LoadClosedShellOrbitals (std::vector< double > energies, std::vector< std::string > symmetries, unsigned int alphaHOMO) |
void | LoadAlphaOrbitals (std::vector< double > energies, std::vector< std::string > symmetries, unsigned int alphaHOMO) |
void | LoadBetaOrbitals (std::vector< double > energies, std::vector< std::string > symmetries, unsigned int betaHOMO) |
void | SetAttribute (const std::string &v) |
void | SetOrigin (const DataOrigin s) |
virtual const std::string & | GetAttribute () const |
unsigned int | GetDataType () const |
virtual const std::string & | GetValue () const |
virtual DataOrigin | GetOrigin () const |
Protected Attributes | |
std::vector< OBOrbital > | _alphaOrbitals |
std::vector< OBOrbital > | _betaOrbitals |
unsigned int | _alphaHOMO |
unsigned int | _betaHOMO |
bool | _openShell |
std::string | _attr |
unsigned int | _type |
DataOrigin | _source |
Used to hold information about orbital energies.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from OBGenericData.
OBOrbitalData& operator= | ( | const OBOrbitalData & | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void LoadClosedShellOrbitals | ( | std::vector< double > | energies, |
std::vector< std::string > | symmetries, | ||
unsigned int | alphaHOMO | ||
) |
Convenience function for common cases of closed-shell calculations – pass the energies and symmetries This method will fill the OBOrbital objects for you.
void LoadAlphaOrbitals | ( | std::vector< double > | energies, |
std::vector< std::string > | symmetries, | ||
unsigned int | alphaHOMO | ||
) |
Convenience function to load alpha orbitals in an open-shell calculation.
void LoadBetaOrbitals | ( | std::vector< double > | energies, |
std::vector< std::string > | symmetries, | ||
unsigned int | betaHOMO | ||
) |
Convenience function to load beta orbitals in an open-shell calculation.
|
inlineinherited |
Set the attribute (key), which can be used to retrieve this data.
Referenced by OBGastChrg::AssignPartialCharges(), OpenBabel::ComparePairSecond(), OBMol::DoTransformations(), OBMol::FindLSSR(), OBMol::FindSSSR(), OBForceField::GetAtomTypes(), OBMol::GetFormula(), OBMol::GetLSSR(), OBForceField::GetPartialCharges(), OBMol::GetSSSR(), OBDescriptor::PredictAndSave(), and OBMol::SetFormula().
|
inlineinherited |
Set the origin of this data, which can be used to filter the data.
Referenced by OBGastChrg::AssignPartialCharges(), OpenBabel::ComparePairSecond(), OBMol::DoTransformations(), OBMol::FindAngles(), OBMol::FindLSSR(), OBMol::FindSSSR(), OBMol::FindTorsions(), OBMol::GetFormula(), OBMol::GetLSSR(), OBMol::GetSSSR(), OBDescriptor::PredictAndSave(), and OBMol::SetFormula().
|
inlinevirtualinherited |
Referenced by OpenBabel::extract_thermochemistry(), and OBMoleculeFormat::MakeCombinedMolecule().
|
inlineinherited |
|
inlinevirtualinherited |
Base class returns a default value (the attribute type) but should never be called.
Reimplemented in OBPairData, and OBCommentData.
Referenced by OBDepict::AddAtomLabels(), OBDepict::DrawMolecule(), OBDescriptor::FilterCompare(), and OBDescriptor::GetValues().
|
inlinevirtualinherited |
|
protected |
List of orbitals. In case of unrestricted calculations, this contains the alpha spin-orbitals.
|
protected |
Only used if needed (e.g., unrestricted calculations)
|
protected |
Highest occupied molecular orbital for _alphaOrbitals.
|
protected |
Highest occupied for _betaOrbitals (if needed)
|
protected |
Whether we store both alpha and beta spin-orbitals (i.e., a restricted open-shell or unrestricted calc.)
|
protectedinherited |
attribute tag (e.g., "UnitCell", "Comment" or "Author")
Referenced by OBRotamerList::Clone(), and OBNasaThermoData::OBNasaThermoData().
|
protectedinherited |
attribute type – declared for each subclass
Referenced by OBRotamerList::Clone(), and OBNasaThermoData::OBNasaThermoData().
|
protectedinherited |
source of data for accounting
Referenced by OBConformerData::operator=(), OBSymmetryData::operator=(), OBTorsionData::operator=(), and OBAngleData::operator=().