ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/utils/NumericConstant.hpp
(Generate patch)

Comparing branches/development/src/utils/NumericConstant.hpp (file contents):
Revision 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1850 by gezelter, Wed Feb 20 15:39:39 2013 UTC

# Line 35 | Line 35
35   *                                                                      
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).          
38 > * [3]  Sun, Lin & Gezelter, J. Chem. Phys. 128, 234107 (2008).          
39   * [4]  Kuang & Gezelter,  J. Chem. Phys. 133, 164101 (2010).
40   * [5]  Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011).
41   */
# Line 44 | Line 44
44   * @file NumericConstant.hpp
45   * @author teng lin
46   * @date 11/17/2004
47 * @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    /**
# Line 63 | Line 66 | namespace OpenMD {
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines