Merge branch 'master' into multi_epcc
This commit is contained in:
10
src/comm.cpp
10
src/comm.cpp
@ -736,18 +736,16 @@ double Comm::get_comm_cutoff()
|
||||
maxcommcutoff = MAX(maxcommcutoff,maxbondcutoff);
|
||||
} else {
|
||||
if ((me == 0) && (maxbondcutoff > maxcommcutoff))
|
||||
error->warning(FLERR,fmt::format("Communication cutoff {} is shorter "
|
||||
"than a bond length based estimate of "
|
||||
"{}. This may lead to errors.",
|
||||
maxcommcutoff,maxbondcutoff));
|
||||
error->warning(FLERR,"Communication cutoff {} is shorter than a bond "
|
||||
"length based estimate of {}. This may lead to errors.",
|
||||
maxcommcutoff,maxbondcutoff);
|
||||
}
|
||||
|
||||
// print warning if neighborlist cutoff overrides user cutoff
|
||||
|
||||
if ((me == 0) && (update->setupflag == 1)) {
|
||||
if ((cutghostuser > 0.0) && (maxcommcutoff > cutghostuser))
|
||||
error->warning(FLERR,fmt::format("Communication cutoff adjusted to {}",
|
||||
maxcommcutoff));
|
||||
error->warning(FLERR,"Communication cutoff adjusted to {}",maxcommcutoff);
|
||||
}
|
||||
|
||||
// Check maximum interval size for neighbor multi
|
||||
|
||||
Reference in New Issue
Block a user