forked from lijiext/lammps
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:
parent
f4ff277636
commit
10e24b27e1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue