next_reneighbor should be initialized in setup_pre_exchange()

This commit is contained in:
Axel Kohlmeyer
2021-03-05 06:30:41 -05:00
parent 39abc9dce3
commit d8daf1da4c

View File

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