IMP  2.0.1
The Integrative Modeling Platform
atom/constants.h
Go to the documentation of this file.
1 /**
2  * \file IMP/atom/constants.h \brief Define the elements used in \imp.
3  *
4  * Copyright 2007-2013 IMP Inventors. All rights reserved.
5  *
6  */
7 
8 #ifndef IMPATOM_CONSTANTS_H
9 #define IMPATOM_CONSTANTS_H
10 
11 #include <IMP/atom/atom_config.h>
12 
13 IMPATOM_BEGIN_NAMESPACE
14 /** Return kT for a given temperature.
15  Value take from
16  \external{http://http://en.wikipedia.org/wiki/Boltzmann_constant, Wikipedia}.
17 */
18 inline double get_kt(double T) {
19  return 0.0019872041*T;
20 }
21 
22 IMPATOM_END_NAMESPACE
23 
24 #endif /* IMPATOM_CONSTANTS_H */