git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14767 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -1818,7 +1818,13 @@ void Neighbor::setup_bins()
|
||||
if (mbins > maxhead) {
|
||||
maxhead = mbins;
|
||||
memory->destroy(binhead);
|
||||
|
||||
// USER-INTEL package requires one additional element
|
||||
#if defined(LMP_USER_INTEL)
|
||||
memory->create(binhead,maxhead + 1,"neigh:binhead");
|
||||
#else
|
||||
memory->create(binhead,maxhead,"neigh:binhead");
|
||||
#endif
|
||||
}
|
||||
|
||||
// create stencil of bins to search over in neighbor list construction
|
||||
|
||||
Reference in New Issue
Block a user