--- branches/development/src/utils/NumericConstant.hpp 2010/07/09 23:08:25 1465 +++ branches/development/src/utils/NumericConstant.hpp 2013/02/20 15:39:39 1850 @@ -35,22 +35,26 @@ * * [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 +#include "config.h" + namespace OpenMD { /** @@ -62,6 +66,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(); }