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

@ -31,8 +31,6 @@
using namespace LAMMPS_NS;
using namespace MathConst;
#define DELTA_BONUS 8192
/* ---------------------------------------------------------------------- */
AtomVecEllipsoid::AtomVecEllipsoid(LAMMPS *lmp) : AtomVec(lmp)
@ -114,7 +112,7 @@ void AtomVecEllipsoid::grow_reset()
void AtomVecEllipsoid::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");