diff --git a/src/USER-MISC/fix_bond_react.cpp b/src/USER-MISC/fix_bond_react.cpp index 5ce1f11475..c3865ce869 100644 --- a/src/USER-MISC/fix_bond_react.cpp +++ b/src/USER-MISC/fix_bond_react.cpp @@ -1862,13 +1862,13 @@ void FixBondReact::glove_ghostcheck() // noteworthy: it's only relevant for parallel // here we add glove to either local_mega_glove or ghostly_mega_glove - int ghostly = 0; - for (int i = 0; i < onemol->natoms; i++) { - if (atom->map(glove[i][1]) >= atom->nlocal) { - ghostly = 1; - break; - } - } + int ghostly = 1; + //for (int i = 0; i < onemol->natoms; i++) { + // if (atom->map(glove[i][1]) >= atom->nlocal) { + // ghostly = 1; + // break; + // } + //} if (ghostly == 1) { ghostly_mega_glove[0][ghostly_num_mega] = rxnID;