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 1548 by gezelter, Fri Apr 8 21:25:19 2011 UTC vs.
Revision 1549 by gezelter, Wed Apr 27 18:38:15 2011 UTC

# Line 359 | Line 359 | namespace OpenMD {
359        RealType dvpdr = res.second;
360        
361        RealType pot_temp = vptmp - vcij;
362 <      idat.vpair[3] += pot_temp;
362 >      idat.vpair += pot_temp;
363        
364        RealType dudr = drhodr * (idat.dfrho1 + idat.dfrho2) + dvpdr;
365        

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines