Open Babel  3.0
data_utilities.h
Go to the documentation of this file.
1 /**********************************************************************
2 data_utilities.h - Global data and resource file parsers.
3 
4 Copyright (C) 1998-2001 by OpenEye Scientific Software, Inc.
5 Copyright (C) 2015 by David van der Spoel
6 
7 This file is part of the Open Babel project.
8 For more information, see <http://openbabel.org/>
9 
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation version 2 of the License.
13 
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 ***********************************************************************/
19 
20 #ifndef OB_DATA_UTILITIES_H
21 #define OB_DATA_UTILITIES_H
22 
23 #include <openbabel/babelconfig.h>
24 
25 #include <vector>
26 
27 namespace OpenBabel {
28  class OBMol;
29 
30  const double HARTEE_TO_KCALPERMOL = 627.509469;
31  const double HARTREE_TO_KJPERMOL = 2625.49962;
32  const double KJPERMOL_TO_KCALPERMOL = 1.0/4.184;
33  const double RYDBERG_TO_KCALPERMOL = 313.755026;
34  const double ELECTRONVOLT_TO_KCALPERMOL = 23.060538;
35 
56  bool bVerbose,
57  int *Nsymm,
58  int Nrotbonds,
59  double dbdt,
60  double *temperature,
61  double *DeltaHf0,
62  double *DeltaHfT,
63  double *DeltaGfT,
64  double *DeltaSfT,
65  double *S0T,
66  double *CVT,
67  double *CPT,
68  std::vector<double> &Scomponents,
69  double *ZPVE);
70 
71 }
72 
73 #endif //DATA_UTILITIES_H
74 
const double ELECTRONVOLT_TO_KCALPERMOL
Definition: data_utilities.h:34
const double RYDBERG_TO_KCALPERMOL
Definition: data_utilities.h:33
const double KJPERMOL_TO_KCALPERMOL
Definition: data_utilities.h:32
Molecule Class.
Definition: mol.h:118
bool extract_thermochemistry(OpenBabel::OBMol &mol, bool bVerbose, int *Nsymm, int Nrotbonds, double dbdt, double *temperature, double *DeltaHf0, double *DeltaHfT, double *DeltaGfT, double *DeltaSfT, double *S0T, double *CVT, double *CPT, std::vector< double > &Scomponents, double *ZPVE)
Convenience function to extract thermochemistry from a molecule structure.
Definition: data_utilities.cpp:35
const double HARTEE_TO_KCALPERMOL
Definition: data_utilities.h:30
const double HARTREE_TO_KJPERMOL
Definition: data_utilities.h:31
Global namespace for all Open Babel code.
Definition: alias.h:22