home
about
news
download
doc
source
systems
tests
bugs
contact
IMP Reference Guide
2.6.1
The Integrative Modeling Platform
IMP Manual
Reference Guide
Modules
Classes
Examples
include
IMP
atom
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-2016 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 taken from
16
\external{http://en.wikipedia.org/wiki/Boltzmann_constant,Wikipedia}.
17
*/
18
inline
double
get_kt
(
double
T) {
return
0.0019872041 * T; }
19
20
IMPATOM_END_NAMESPACE
21
22
#endif
/* IMPATOM_CONSTANTS_H */
IMP::atom::get_kt
double get_kt(double T)
Return kT for a given temperature.
Definition:
atom/constants.h:18