Bug fix for nbuf_peratom.

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8713 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
pscrozi
2012-08-24 16:10:04 +00:00
parent 6fa2f9ed6a
commit feb096873e

View File

@ -1330,8 +1330,8 @@ void PPPM::set_fft_parameters()
nbuf_peratom = 6*nbuf;
if (differentiation_flag != 1) {
nbuf_peratom += nbuf;
nbuf *= 3;
nbuf_peratom++;
}
}