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

Comparing branches/development/src/nonbonded/EAM.cpp (file contents):
Revision 1575 by gezelter, Fri Jun 3 21:39:49 2011 UTC vs.
Revision 1582 by gezelter, Tue Jun 14 20:41:44 2011 UTC

# Line 482 | Line 482 | namespace OpenMD {
482        *(idat.particlePot2) += data1.F->getValueAt( *(idat.rho1) - rhb)
483          - *(idat.frho1);
484  
485 <      idat.pot[METALLIC_FAMILY] += phab;
485 >      (*(idat.pot))[METALLIC_FAMILY] += phab;
486  
487        *(idat.vpair) += phab;
488      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines