add missing nall definitions.

This commit is contained in:
Axel Kohlmeyer
2010-11-29 19:02:06 -05:00
parent 8f875d88d1
commit 189735810b
2 changed files with 3 additions and 0 deletions

View File

@ -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;

View File

@ -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;