Replacing binsizex with multi2 version

This commit is contained in:
Joel Clemmer
2020-11-30 20:55:04 -07:00
parent e716abd34a
commit 6308248a44
4 changed files with 6 additions and 5 deletions

View File

@ -248,6 +248,7 @@ void Comm::init()
// Could remove NP_NEWTON from npair_full_*multi2*, but could be cryptic
// Also could be cases where you want newton off (hybrid) but don't use multi2 comm
// Could add check on neighbor build, if full and comm->multi2 error...
// or just add check on comm setup - is that run before every run? Only if box change...
if (force->newton == 0 && multi2)
error->all(FLERR,"Cannot use multi2 communication with Newton off");
}