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

Comparing branches/development/src/nonbonded/Electrostatic.cpp (file contents):
Revision 1571 by gezelter, Fri May 27 16:45:44 2011 UTC vs.
Revision 1582 by gezelter, Tue Jun 14 20:41:44 2011 UTC

# Line 909 | Line 909 | namespace OpenMD {
909        }
910      }
911  
912 <    idat.pot[ELECTROSTATIC_FAMILY] += epot;
912 >    (*(idat.pot))[ELECTROSTATIC_FAMILY] += epot;
913      *(idat.f1) += dVdr;
914  
915      if (i_is_Dipole || i_is_Quadrupole)
# Line 1020 | Line 1020 | namespace OpenMD {
1020        }
1021        
1022        // accumulate the forces and torques resulting from the self term
1023 <      idat.pot[ELECTROSTATIC_FAMILY] += myPot;
1023 >      (*(idat.pot))[ELECTROSTATIC_FAMILY] += myPot;
1024        *(idat.f1) += dVdr;
1025        
1026        if (i_is_Dipole)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines