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

Comparing branches/development/src/nonbonded/MAW.cpp (file contents):
Revision 1581 by gezelter, Fri May 27 16:45:44 2011 UTC vs.
Revision 1582 by gezelter, Tue Jun 14 20:41:44 2011 UTC

# Line 221 | Line 221 | namespace OpenMD {
221        
222        RealType pot_temp = *(idat.vdwMult) * Vmorse * Vang;
223        *(idat.vpair) += pot_temp;
224 <      idat.pot[VANDERWAALS_FAMILY] += *(idat.sw) * pot_temp;
224 >      (*(idat.pot))[VANDERWAALS_FAMILY] += *(idat.sw) * pot_temp;
225            
226        Vector3d dVmorsedr = (myDeriv - myDerivC) * Vector3d(x, y, z) /  *(idat.rij) ;
227        

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines