next_reneighbor must be initialized in setup_pre_exchange()

This commit is contained in:
Axel Kohlmeyer
2021-03-05 06:08:06 -05:00
parent 2f4fc31696
commit 135099e23f

View File

@ -292,6 +292,13 @@ void FixDeposit::init()
}
}
/* ---------------------------------------------------------------------- */
void FixDeposit::setup_pre_exchange()
{
next_reneighbor = update->ntimestep+1;
}
/* ----------------------------------------------------------------------
perform particle insertion
------------------------------------------------------------------------- */