Skip to content
Snippets Groups Projects
Commit 10e24b27 authored by athomps's avatar athomps
Browse files

Fixed problem with eflag_global


git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5738 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent f4ff2776
No related branches found
No related tags found
No related merge requests found
...@@ -125,7 +125,8 @@ void PairREAX::compute(int eflag, int vflag) ...@@ -125,7 +125,8 @@ void PairREAX::compute(int eflag, int vflag)
evdwl = ecoul = 0.0; evdwl = ecoul = 0.0;
if (eflag || vflag) ev_setup(eflag,vflag); 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; if (vflag_global) FORTRAN(cbkvirial, CBKVIRIAL).Lvirial = 1;
else FORTRAN(cbkvirial, CBKVIRIAL).Lvirial = 0; else FORTRAN(cbkvirial, CBKVIRIAL).Lvirial = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment