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

This commit is contained in:
sjplimp 2012-12-03 23:00:15 +00:00
parent 9797f93cc1
commit 2a6f6ed9a4
1 changed files with 1 additions and 1 deletions

View File

@ -2434,7 +2434,7 @@ void PPPM::unpack_forward(int flag, FFT_SCALAR *buf, int nlist, int *list)
} else if (flag == FORWARD_AD) {
FFT_SCALAR *dest = &u_brick[nzlo_out][nylo_out][nxlo_out];
for (int i = 0; i < nlist; i++)
dest[list[i]] = buf[n++];
dest[list[i]] = buf[i];
} else if (flag == FORWARD_IK_PERATOM) {
FFT_SCALAR *esrc = &u_brick[nzlo_out][nylo_out][nxlo_out];
FFT_SCALAR *v0src = &v0_brick[nzlo_out][nylo_out][nxlo_out];