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

Comparing trunk/src/utils/NumericConstant.hpp (file contents):
Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
Revision 2077 by gezelter, Mon Mar 9 17:10:26 2015 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).          
39 < * [4]  Vardeman & Gezelter, in progress (2009).                        
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   */
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 + #include "config.h"
53   #include <cmath>
54   #include <limits>
55 +
56   namespace OpenMD {
57  
58    /**
# Line 62 | Line 64 | namespace OpenMD {
64      static const RealType epsilon = std::numeric_limits<RealType>::epsilon();
65      static const RealType PI = M_PI;
66      static const RealType TWO_PI = 2.0 * PI;
67 +    static const RealType infinity = std::numeric_limits<RealType>::infinity();
68    }
69  
70  

Comparing trunk/src/utils/NumericConstant.hpp (property svn:keywords):
Revision 1390 by gezelter, Wed Nov 25 20:02:06 2009 UTC vs.
Revision 2077 by gezelter, Mon Mar 9 17:10:26 2015 UTC

# Line 0 | Line 1
1 + Author Id Revision Date

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines