42 |
|
|
43 |
|
#ifndef UTILS_PHYSICALCONSTANTS_HPP |
44 |
|
#define UTILS_PHYSICALCONSTANTS_HPP |
45 |
+ |
#include "config.h" |
46 |
+ |
#include <cmath> |
47 |
|
|
48 |
|
namespace OpenMD { |
49 |
|
|
82 |
|
*/ |
83 |
|
const RealType thermalConductivityConvert = 1.439326479e-5; |
84 |
|
|
85 |
< |
const RealType bohrToAngstroms = 1.8897161646320724; |
86 |
< |
const RealType angstromsToBohr = 0.52918; |
85 |
> |
/* Atomic Units are used in the Slater overlap code, and we need |
86 |
> |
* to get distances back and forth to angstroms and energies back |
87 |
> |
* and forth to kcal / mol |
88 |
> |
*/ |
89 |
> |
const RealType angstromToBohr = 1.88972612; |
90 |
> |
const RealType bohrToAngstrom = 0.52917721092; |
91 |
> |
const RealType hartreeToKcal = 627.509469; |
92 |
|
} |
93 |
|
} |
94 |
|
#endif |