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

This commit is contained in:
sjplimp
2014-05-07 16:25:27 +00:00
parent 4c9bba90f1
commit 59971d1616
6 changed files with 18 additions and 11 deletions

View File

@ -28,8 +28,6 @@
using namespace LAMMPS_NS;
#define DELTA_BONUS 8192
/* ---------------------------------------------------------------------- */
AtomVecBody::AtomVecBody(LAMMPS *lmp) : AtomVec(lmp)
@ -159,7 +157,7 @@ void AtomVecBody::grow_reset()
void AtomVecBody::grow_bonus()
{
nmax_bonus += DELTA_BONUS;
nmax_bonus = grow_nmax_bonus(nmax_bonus);
if (nmax_bonus < 0 || nmax_bonus > MAXSMALLINT)
error->one(FLERR,"Per-processor system is too big");