From 10e24b27e1a95ebe21a335d50b71b772a32a63c7 Mon Sep 17 00:00:00 2001 From: athomps Date: Mon, 28 Feb 2011 00:31:12 +0000 Subject: [PATCH] Fixed problem with eflag_global git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5738 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/REAX/pair_reax.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/REAX/pair_reax.cpp b/src/REAX/pair_reax.cpp index 61aeaaa5c3..dbc31747a9 100644 --- a/src/REAX/pair_reax.cpp +++ b/src/REAX/pair_reax.cpp @@ -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;