forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7798 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
e35f6365b6
commit
14318fa300
|
@ -64,6 +64,9 @@ void KSpace::ev_setup(int eflag, int vflag)
|
||||||
vflag_global = vflag % 4;
|
vflag_global = vflag % 4;
|
||||||
vflag_atom = vflag / 4;
|
vflag_atom = vflag / 4;
|
||||||
|
|
||||||
|
if (eflag_atom || vflag_atom) evflag_atom = 1;
|
||||||
|
else evflag_atom = 0;
|
||||||
|
|
||||||
// reallocate per-atom arrays if necessary
|
// reallocate per-atom arrays if necessary
|
||||||
|
|
||||||
if (eflag_atom && atom->nlocal > maxeatom) {
|
if (eflag_atom && atom->nlocal > maxeatom) {
|
||||||
|
|
Loading…
Reference in New Issue