36 |
|
* [1] Meineke, et al., J. Comp. Chem. 26, 252-271 (2005). |
37 |
|
* [2] Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006). |
38 |
|
* [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008). |
39 |
< |
* [4] Vardeman & Gezelter, in progress (2009). |
39 |
> |
* [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). |
40 |
> |
* [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). |
41 |
|
*/ |
42 |
|
|
43 |
|
/** |
44 |
|
* @file NumericConstant.hpp |
45 |
|
* @author teng lin |
46 |
|
* @date 11/17/2004 |
46 |
– |
* @time 23:33am |
47 |
|
* @version 1.0 |
48 |
|
*/ |
49 |
|
|
50 |
|
#ifndef UTILS_NUMERICCONSTANT_HPP |
51 |
|
#define UTILS_NUMERICCONSTANT_HPP |
52 |
+ |
|
53 |
+ |
#include "config.h" |
54 |
|
#include <cmath> |
55 |
|
#include <limits> |
56 |
+ |
#include "config.h" |
57 |
+ |
|
58 |
|
namespace OpenMD { |
59 |
|
|
60 |
|
/** |
66 |
|
static const RealType epsilon = std::numeric_limits<RealType>::epsilon(); |
67 |
|
static const RealType PI = M_PI; |
68 |
|
static const RealType TWO_PI = 2.0 * PI; |
69 |
+ |
static const RealType infinity = std::numeric_limits<RealType>::infinity(); |
70 |
|
} |
71 |
|
|
72 |
|
|