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

This commit is contained in:
sjplimp 2012-02-15 23:40:55 +00:00
parent e35f6365b6
commit 14318fa300
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,9 @@ void KSpace::ev_setup(int eflag, int vflag)
vflag_global = vflag % 4;
vflag_atom = vflag / 4;
if (eflag_atom || vflag_atom) evflag_atom = 1;
else evflag_atom = 0;
// reallocate per-atom arrays if necessary
if (eflag_atom && atom->nlocal > maxeatom) {