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

Comparing trunk/src/nonbonded/LJ.cpp (file contents):
Revision 2016 by gezelter, Mon Jul 1 21:09:37 2013 UTC vs.
Revision 2017 by gezelter, Tue Sep 2 18:31:44 2014 UTC

# Line 263 | Line 263 | namespace OpenMD {
263      
264      RealType dudr = *(idat.sw) * *(idat.vdwMult) * epsilon * (myDeriv -
265                                                                myDerivC)*sigmai;      
266    
266      (*(idat.pot))[VANDERWAALS_FAMILY] += *(idat.sw) * pot_temp;
267      *(idat.f1) += *(idat.d) * dudr / *(idat.rij);
268      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines