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:
@ -1330,8 +1330,8 @@ void PPPM::set_fft_parameters()
|
|||||||
|
|
||||||
nbuf_peratom = 6*nbuf;
|
nbuf_peratom = 6*nbuf;
|
||||||
if (differentiation_flag != 1) {
|
if (differentiation_flag != 1) {
|
||||||
|
nbuf_peratom += nbuf;
|
||||||
nbuf *= 3;
|
nbuf *= 3;
|
||||||
nbuf_peratom++;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user