Open Babel
3.0
|
#include <openbabel/data.h>
Public Member Functions | |
OBAtomicHeatOfFormationTable (void) | |
~OBAtomicHeatOfFormationTable () | |
size_t | GetSize () |
void | ParseLine (const char *) |
int | GetHeatOfFormation (std::string elem, int charge, std::string method, double T, double *dhof0, double *dhofT, double *S0T) |
void | Init () |
void | SetReadDirectory (char *dir) |
void | SetEnvironmentVariable (char *var) |
Protected Attributes | |
bool | _init |
const char * | _dataptr |
std::string | _filename |
std::string | _dir |
std::string | _subdir |
std::string | _envvar |
Atomic Heat of Formation Table.
Contributions of atoms to Enthalpy of Formation calculations performed in Gaussian, using the G2/G3/G4 or CBS-QB3 methods respectively. The energies produced by Gaussian have to be corrected according to their document on Thermochemistry with Gaussian. The data in the file BABEL_DATA/atomization_energies.txt supplies this information based on single atom calculations with Gaussian and the appropriate method and experimental data from Curtiss et al., J. Chem. Phys. 106 (1997) 1063-1079.
OBAtomicHeatOfFormationTable | ( | void | ) |
Constructor.
|
inline |
Destructor.
|
inlinevirtual |
Reimplemented from OBGlobalDataBase.
|
virtual |
Read one line in the file and parse it.
Unnamed | the line to be parsed |
Reimplemented from OBGlobalDataBase.
int GetHeatOfFormation | ( | std::string | elem, |
int | charge, | ||
std::string | method, | ||
double | T, | ||
double * | dhof0, | ||
double * | dhofT, | ||
double * | S0T | ||
) |
Extract heat of formation and entropy for an atom.
elem | The chemical element we're looking for |
charge | At this formal charge |
method | The method used for computing/measuring |
T | The temperature |
dhof0 | The output energy at 0K |
dhof1 | The output energy at T |
S0T | The entropy at T (it is 0 at 0K) |
|
inherited |
Read in the data file, falling back as needed.
Referenced by OBRotorList::Init().
|
inlineinherited |
Set the directory before calling Init()
|
inlineinherited |
Set the environment variable to use before calling Init()
|
protectedinherited |
Whether the data been read already.
|
protectedinherited |
Default data table if file is unreadable.
|
protectedinherited |
File to search for.
|
protectedinherited |
Data directory for file if _envvar fails.
|
protectedinherited |
Subdirectory (if using environment variable)
|
protectedinherited |
Environment variable to check first.