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

Comparing branches/development/src/nonbonded/LJ.cpp (file contents):
Revision 1628 by gezelter, Fri Jul 8 20:25:32 2011 UTC vs.
Revision 1629 by gezelter, Wed Sep 14 21:15:17 2011 UTC

# Line 284 | Line 284 | namespace OpenMD {
284                                                                  myDerivC)*sigmai;      
285  
286        (*(idat.pot))[VANDERWAALS_FAMILY] += *(idat.sw) * pot_temp;
287 <      *(idat.f1) = *(idat.d) * dudr / *(idat.rij);
287 >      *(idat.f1) += *(idat.d) * dudr / *(idat.rij);
288      }
289      return;
290    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines