git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3677 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -1255,6 +1255,8 @@ void Neighbor::setup_bins()
|
||||
|
||||
// memory for bin ptrs
|
||||
|
||||
if (1.0*mbinx*mbiny*mbinz > INT_MAX) error->one("Too many neighbor bins");
|
||||
|
||||
mbins = mbinx*mbiny*mbinz;
|
||||
if (mbins > maxhead) {
|
||||
maxhead = mbins;
|
||||
|
||||
Reference in New Issue
Block a user