performance improvement bugfix

This commit is contained in:
jrgissing
2021-03-20 16:20:57 -04:00
parent c4e1255f3e
commit 012cdf3763

View File

@ -2566,6 +2566,7 @@ void FixBondReact::unlimit_bond()
}
// really should only communicate this per-atom property, not entire reneighboring
MPI_Allreduce(MPI_IN_PLACE,&unlimitflag,1,MPI_INT,MPI_MAX,world);
if (unlimitflag) next_reneighbor = update->ntimestep;
}