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

Comparing branches/development/src/nonbonded/Morse.cpp (file contents):
Revision 1545 by gezelter, Fri Apr 8 21:25:19 2011 UTC vs.
Revision 1549 by gezelter, Wed Apr 27 18:38:15 2011 UTC

# Line 220 | Line 220 | namespace OpenMD {
220        }
221        
222        RealType pot_temp = idat.vdwMult * (myPot - myPotC);
223 <      idat.vpair[0] += pot_temp;
223 >      idat.vpair += pot_temp;
224        
225        RealType dudr = idat.sw * idat.vdwMult * (myDeriv - myDerivC);
226        

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines