From 189735810b1e112946724d26524785fa2bc319fa Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Mon, 29 Nov 2010 19:02:06 -0500 Subject: [PATCH] add missing nall definitions. --- src/MANYBODY/pair_comb.cpp | 2 ++ src/MANYBODY/pair_eim.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/src/MANYBODY/pair_comb.cpp b/src/MANYBODY/pair_comb.cpp index 90447cd370..8762469d86 100644 --- a/src/MANYBODY/pair_comb.cpp +++ b/src/MANYBODY/pair_comb.cpp @@ -142,6 +142,7 @@ void PairComb::compute(int eflag, int vflag) int *tag = atom->tag; int *type = atom->type; int nlocal = atom->nlocal; + int nall = nlocal + atom->nghost; int newton_pair = force->newton_pair; int ntype = atom->ntypes; @@ -1635,6 +1636,7 @@ double PairComb::yasu_char(double *qf_fix, int &igroup) int *tag = atom->tag; int *type = atom->type; int nlocal = atom->nlocal; + int nall = nlocal + atom->nghost; int inum = list->inum; ilist = list->ilist; diff --git a/src/MANYBODY/pair_eim.cpp b/src/MANYBODY/pair_eim.cpp index 43e51aaaf5..e66ee6d27f 100644 --- a/src/MANYBODY/pair_eim.cpp +++ b/src/MANYBODY/pair_eim.cpp @@ -130,6 +130,7 @@ void PairEIM::compute(int eflag, int vflag) double **f = atom->f; int *type = atom->type; int nlocal = atom->nlocal; + int nall = nlocal + atom->nghost; int newton_pair = force->newton_pair; inum = list->inum;