--- trunk/src/utils/NumericConstant.hpp 2009/11/25 20:02:06 1390 +++ trunk/src/utils/NumericConstant.hpp 2015/03/09 17:10:26 2077 @@ -35,22 +35,24 @@ * * [1] Meineke, et al., J. Comp. Chem. 26, 252-271 (2005). * [2] Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006). - * [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008). - * [4] Vardeman & Gezelter, in progress (2009). + * [3] Sun, Lin & Gezelter, J. Chem. Phys. 128, 234107 (2008). + * [4] Kuang & Gezelter, J. Chem. Phys. 133, 164101 (2010). + * [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). */ /** * @file NumericConstant.hpp * @author teng lin * @date 11/17/2004 - * @time 23:33am * @version 1.0 */ #ifndef UTILS_NUMERICCONSTANT_HPP #define UTILS_NUMERICCONSTANT_HPP +#include "config.h" #include #include + namespace OpenMD { /** @@ -62,6 +64,7 @@ namespace OpenMD { static const RealType epsilon = std::numeric_limits::epsilon(); static const RealType PI = M_PI; static const RealType TWO_PI = 2.0 * PI; + static const RealType infinity = std::numeric_limits::infinity(); }