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 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;
# 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