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

This commit is contained in:
sjplimp
2013-06-01 00:08:35 +00:00
parent ebfa383c9a
commit d56c38d62d
2 changed files with 5 additions and 4 deletions

View File

@ -388,6 +388,7 @@ void PPPMTIP4P::fieldforce_peratom()
// (dx,dy,dz) = distance to "lower left" grid pt
// (mx,my,mz) = global coords of moving stencil pt
// ek = 3 components of E-field on particle
double *q = atom->q;
double **x = atom->x;
@ -432,7 +433,6 @@ void PPPMTIP4P::fieldforce_peratom()
}
}
if (eflag_atom) {
if (type[i] != typeO) {
eatom[i] += q[i]*u_pa;