next_reneighbor must be initialized in setup_pre_exchange()
This commit is contained in:
@ -292,6 +292,13 @@ void FixDeposit::init()
|
||||
}
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
void FixDeposit::setup_pre_exchange()
|
||||
{
|
||||
next_reneighbor = update->ntimestep+1;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
perform particle insertion
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user