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

Comparing branches/development/src/nonbonded/SC.cpp (file contents):
Revision 1585 by gezelter, Thu Jun 16 22:00:08 2011 UTC vs.
Revision 1586 by gezelter, Tue Jun 21 06:34:35 2011 UTC

# Line 379 | Line 379 | namespace OpenMD {
379        *(idat.particlePot1) -= data2.c * data2.epsilon *
380          sqrt( *(idat.rho2) - rhtmp) + *(idat.frho2);
381  
382 <      *(idat.particlePot1) -= data1.c * data1.epsilon *
382 >      *(idat.particlePot2) -= data1.c * data1.epsilon *
383          sqrt( *(idat.rho1) - rhtmp) + *(idat.frho1);
384        
385        (*(idat.pot))[METALLIC_FAMILY] += pot_temp;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines