Fixed problem with eflag_global

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5738 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
athomps 2011-02-28 00:31:12 +00:00
parent f4ff277636
commit 10e24b27e1
1 changed files with 2 additions and 1 deletions

View File

@ -125,7 +125,8 @@ void PairREAX::compute(int eflag, int vflag)
evdwl = ecoul = 0.0;
if (eflag || vflag) ev_setup(eflag,vflag);
else evflag = vflag_fdotr = eflag_global = vflag_global = 0;
else evflag = vflag_fdotr = eflag_global = vflag_global =
eflag_atom = vflag_atom = 0;
if (vflag_global) FORTRAN(cbkvirial, CBKVIRIAL).Lvirial = 1;
else FORTRAN(cbkvirial, CBKVIRIAL).Lvirial = 0;