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

@ -27,7 +27,6 @@
using namespace LAMMPS_NS;
#define DELTA_BONUS 10000
#define EPSILON 0.001
/* ---------------------------------------------------------------------- */
@ -124,7 +123,7 @@ void AtomVecTri::grow_reset()
void AtomVecTri::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");