small fix for previous fix for fix pour and fix deposit
This commit is contained in:
@ -375,7 +375,8 @@ void FixPour::init()
|
||||
|
||||
void FixPour::setup_pre_exchange()
|
||||
{
|
||||
next_reneighbor = update->ntimestep + 1;
|
||||
if (ninserted < ninsert) next_reneighbor = update->ntimestep + 1;
|
||||
else next_reneighbor = 0;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
@ -296,7 +296,8 @@ void FixDeposit::init()
|
||||
|
||||
void FixDeposit::setup_pre_exchange()
|
||||
{
|
||||
next_reneighbor = update->ntimestep+1;
|
||||
if (ninserted < ninsert) next_reneighbor = update->ntimestep+1;
|
||||
else next_reneighbor = 0;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user