git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7463 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2012-01-07 01:25:04 +00:00
parent 64be81e571
commit bff244e206
9 changed files with 59 additions and 61 deletions

View File

@ -156,8 +156,8 @@ void Neighbor::granular_nsq_no_newton(NeighList *list)
firstshear[i] = shearptr;
}
npnt += n;
if (n > oneatom || npnt >= pgsize)
error->one(FLERR,"Neighbor list overflow, boost neigh_modify one or page");
if (n > oneatom)
error->one(FLERR,"Neighbor list overflow, boost neigh_modify one");
}
list->inum = inum;
@ -254,8 +254,8 @@ void Neighbor::granular_nsq_newton(NeighList *list)
firstneigh[i] = neighptr;
numneigh[i] = n;
npnt += n;
if (n > oneatom || npnt >= pgsize)
error->one(FLERR,"Neighbor list overflow, boost neigh_modify one or page");
if (n > oneatom)
error->one(FLERR,"Neighbor list overflow, boost neigh_modify one");
}
list->inum = inum;
@ -408,8 +408,8 @@ void Neighbor::granular_bin_no_newton(NeighList *list)
firstshear[i] = shearptr;
}
npnt += n;
if (n > oneatom || npnt >= pgsize)
error->one(FLERR,"Neighbor list overflow, boost neigh_modify one or page");
if (n > oneatom)
error->one(FLERR,"Neighbor list overflow, boost neigh_modify one");
}
list->inum = inum;
@ -518,8 +518,8 @@ void Neighbor::granular_bin_newton(NeighList *list)
firstneigh[i] = neighptr;
numneigh[i] = n;
npnt += n;
if (n > oneatom || npnt >= pgsize)
error->one(FLERR,"Neighbor list overflow, boost neigh_modify one or page");
if (n > oneatom)
error->one(FLERR,"Neighbor list overflow, boost neigh_modify one");
}
list->inum = inum;
@ -616,8 +616,8 @@ void Neighbor::granular_bin_newton_tri(NeighList *list)
firstneigh[i] = neighptr;
numneigh[i] = n;
npnt += n;
if (n > oneatom || npnt >= pgsize)
error->one(FLERR,"Neighbor list overflow, boost neigh_modify one or page");
if (n > oneatom)
error->one(FLERR,"Neighbor list overflow, boost neigh_modify one");
}
list->inum = inum;