improve warning and explanation about too short communication cutoff
This commit is contained in:
@ -209,8 +209,8 @@ void CommBrick::setup()
|
||||
|
||||
double cut = get_comm_cutoff();
|
||||
if ((cut == 0.0) && (me == 0))
|
||||
error->warning(FLERR,"Communication cutoff is 0.0. No ghost atoms "
|
||||
"will be generated. Atoms may get lost.");
|
||||
error->warning(FLERR,"Communication cutoff is 0.0. No ghost atoms will be generated. "
|
||||
"Energies and forces may be wrong and atoms may get lost.");
|
||||
|
||||
if (mode == Comm::MULTI) {
|
||||
double **cutcollectionsq = neighbor->cutcollectionsq;
|
||||
|
||||
Reference in New Issue
Block a user