ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/primitives/Atom.cpp
(Generate patch)

Comparing branches/development/src/primitives/Atom.cpp (file contents):
Revision 1766 by gezelter, Tue May 22 21:55:31 2012 UTC vs.
Revision 1767 by gezelter, Fri Jul 6 22:01:58 2012 UTC

# Line 40 | Line 40
40   * [5]  Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011).
41   */
42  
43 < #include <cmath>
43 > #include "utils/NumericConstant.hpp"
44   #include "primitives/Atom.hpp"
45   #include "types/FluctuatingChargeAdapter.hpp"
46  
# Line 53 | Line 53 | namespace OpenMD {
53        FluctuatingChargeAdapter fca = FluctuatingChargeAdapter(at);
54        chargeMass_ = fca.getChargeMass();
55      } else {
56 <      chargeMass_ = INFINITY;
56 >      chargeMass_ = NumericConstant::infinity;
57      }
58    }
59  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines