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

Comparing branches/development/src/nonbonded/SC.cpp (file contents):
Revision 1582 by gezelter, Tue Jun 14 20:41:44 2011 UTC vs.
Revision 1583 by gezelter, Thu Jun 16 22:00:08 2011 UTC

# Line 329 | Line 329 | namespace OpenMD {
329      *(sdat.frho) = u;
330      *(sdat.dfrhodrho) = 0.5 * *(sdat.frho) / *(sdat.rho);
331  
332 <    sdat.pot[METALLIC_FAMILY] += u;
332 >    (*(sdat.pot))[METALLIC_FAMILY] += u;
333      *(sdat.particlePot) += u;
334      
335      return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines