git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2188 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -52,9 +52,9 @@ void Neighbor::granular_nsq_no_newton(NeighList *list)
|
||||
int *molecule = atom->molecule;
|
||||
int nlocal = atom->nlocal;
|
||||
int nall = nlocal + atom->nghost;
|
||||
if (include_group) {
|
||||
if (includegroup) {
|
||||
nlocal = atom->nfirst;
|
||||
bitmask = group->bitmask[include_group];
|
||||
bitmask = group->bitmask[includegroup];
|
||||
}
|
||||
|
||||
int *ilist = list->ilist;
|
||||
@ -108,7 +108,7 @@ void Neighbor::granular_nsq_no_newton(NeighList *list)
|
||||
// loop over remaining atoms, owned and ghost
|
||||
|
||||
for (j = i+1; j < nall; j++) {
|
||||
if (include_group && !(mask[j] & bitmask)) continue;
|
||||
if (includegroup && !(mask[j] & bitmask)) continue;
|
||||
if (exclude && exclusion(i,j,type[i],type[j],mask,molecule)) continue;
|
||||
|
||||
delx = xtmp - x[j][0];
|
||||
@ -187,9 +187,9 @@ void Neighbor::granular_nsq_newton(NeighList *list)
|
||||
int *molecule = atom->molecule;
|
||||
int nlocal = atom->nlocal;
|
||||
int nall = nlocal + atom->nghost;
|
||||
if (include_group) {
|
||||
if (includegroup) {
|
||||
nlocal = atom->nfirst;
|
||||
bitmask = group->bitmask[include_group];
|
||||
bitmask = group->bitmask[includegroup];
|
||||
}
|
||||
|
||||
int *ilist = list->ilist;
|
||||
@ -221,7 +221,7 @@ void Neighbor::granular_nsq_newton(NeighList *list)
|
||||
// loop over remaining atoms, owned and ghost
|
||||
|
||||
for (j = i+1; j < nall; j++) {
|
||||
if (include_group && !(mask[j] & bitmask)) continue;
|
||||
if (includegroup && !(mask[j] & bitmask)) continue;
|
||||
|
||||
if (j >= nlocal) {
|
||||
jtag = tag[j];
|
||||
@ -298,7 +298,7 @@ void Neighbor::granular_bin_no_newton(NeighList *list)
|
||||
int *mask = atom->mask;
|
||||
int *molecule = atom->molecule;
|
||||
int nlocal = atom->nlocal;
|
||||
if (include_group) nlocal = atom->nfirst;
|
||||
if (includegroup) nlocal = atom->nfirst;
|
||||
|
||||
int *ilist = list->ilist;
|
||||
int *numneigh = list->numneigh;
|
||||
@ -441,7 +441,7 @@ void Neighbor::granular_bin_newton(NeighList *list)
|
||||
int *mask = atom->mask;
|
||||
int *molecule = atom->molecule;
|
||||
int nlocal = atom->nlocal;
|
||||
if (include_group) nlocal = atom->nfirst;
|
||||
if (includegroup) nlocal = atom->nfirst;
|
||||
|
||||
int *ilist = list->ilist;
|
||||
int *numneigh = list->numneigh;
|
||||
@ -548,7 +548,7 @@ void Neighbor::granular_bin_newton_tri(NeighList *list)
|
||||
int *mask = atom->mask;
|
||||
int *molecule = atom->molecule;
|
||||
int nlocal = atom->nlocal;
|
||||
if (include_group) nlocal = atom->nfirst;
|
||||
if (includegroup) nlocal = atom->nfirst;
|
||||
|
||||
int *ilist = list->ilist;
|
||||
int *numneigh = list->numneigh;
|
||||
|
||||
Reference in New Issue
Block a user