Refreshing no shift flag for solid particles
This commit is contained in:
@ -422,6 +422,12 @@ void FixRHEO::pre_force(int /*vflag*/)
|
||||
if (mask[i] & groupbit)
|
||||
status[i] &= OPTIONSMASK;
|
||||
|
||||
// Reinstate temporary options
|
||||
for (int i = 0; i < nall; i++)
|
||||
if (mask[i] & groupbit)
|
||||
if (status[i] & STATUS_SOLID)
|
||||
status[i] |= STATUS_NO_SHIFT;
|
||||
|
||||
// Calculate surfaces, update status
|
||||
if (surface_flag) {
|
||||
compute_surface->compute_peratom();
|
||||
|
||||
@ -374,7 +374,6 @@ void FixRHEOThermal::post_integrate()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
int n_melt_all, n_freeze_all;
|
||||
@ -558,7 +557,7 @@ void FixRHEOThermal::create_bonds()
|
||||
|
||||
for (jj = 0; jj < jnum; jj++) {
|
||||
j = jlist[jj];
|
||||
j &= SPECIALMASK;
|
||||
j &= NEIGHMASK;
|
||||
|
||||
if (!(status[j] & STATUS_SOLID)) continue;
|
||||
if (!(status[i] & STATUS_FREEZING) && !(status[j] & STATUS_FREEZING)) continue;
|
||||
|
||||
Reference in New Issue
Block a user