need to setup bins again if binning style has be reset
This commit is contained in:
@ -26,11 +26,13 @@ using namespace LAMMPS_NS;
|
||||
NBin::NBin(LAMMPS *lmp) : Pointers(lmp)
|
||||
{
|
||||
last_bin = -1;
|
||||
maxbin = maxatom = 0;
|
||||
mbins = maxbin = maxatom = 0;
|
||||
binhead = NULL;
|
||||
bins = NULL;
|
||||
atom2bin = NULL;
|
||||
|
||||
neighbor->last_setup_bins = -1;
|
||||
|
||||
// geometry settings
|
||||
|
||||
dimension = domain->dimension;
|
||||
|
||||
Reference in New Issue
Block a user