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 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 382 | Line 382 | namespace OpenMD {
382        *(idat.particlePot1) -= data1.c * data1.epsilon *
383          sqrt( *(idat.rho1) - rhtmp) + *(idat.frho1);
384        
385 <      idat.pot[METALLIC_FAMILY] += pot_temp;
385 >      (*(idat.pot))[METALLIC_FAMILY] += pot_temp;
386      }
387        
388      return;    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines