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

This commit is contained in:
sjplimp 2007-11-12 17:32:33 +00:00
parent 4fe29877ef
commit 18456c04f9
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ void ComputeEbondAtom::compute_peratom()
domain->minimum_image(delx,dely,delz);
rsq = delx*delx + dely*dely + delz*delz;
force->bond->single(type,rsq,i1,i2,0,fforce,eng);
force->bond->single(type,rsq,i1,i2,1,fforce,eng);
if (iflag) energy[i1] += eng;
if (jflag && (newton_bond || i2 < nlocal)) energy[i2] += eng;
}