git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8498 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2012-07-25 15:16:20 +00:00
parent 912cfaca75
commit 47552d4033
38 changed files with 2100 additions and 2105 deletions

View File

@ -83,7 +83,7 @@ void BondHarmonicShift::compute(int eflag, int vflag)
if (r > 0.0) fbond = -2.0*rk/r;
else fbond = 0.0;
if (eflag)
if (eflag)
ebond = k[type]*(dr*dr -(r0[type]-r1[type])*(r0[type]-r1[type]) );
// apply force to each of 2 atoms