expand deprecation warnings
This commit is contained in:
@ -307,7 +307,8 @@ void Comm::modify_params(int narg, char **arg)
|
||||
mode = Comm::MULTI;
|
||||
} else if (strcmp(arg[iarg+1],"multi/old") == 0) {
|
||||
if (me == 0)
|
||||
error->warning(FLERR, "Comm mode 'multi/old' is deprecated and will be removed soon");
|
||||
error->warning(FLERR, "Comm mode 'multi/old' is deprecated and will be removed soon.\n"
|
||||
"Contact the LAMMPS developers if that creates problems for you.");
|
||||
if (neighbor->style == Neighbor::MULTI)
|
||||
error->all(FLERR, iarg+1,
|
||||
"Cannot use comm mode 'multi/old' with 'multi' style neighbor lists");
|
||||
@ -370,7 +371,8 @@ void Comm::modify_params(int narg, char **arg)
|
||||
int i,nlo,nhi;
|
||||
double cut;
|
||||
if (me == 0)
|
||||
error->warning(FLERR, "Comm mode 'multi/old' is deprecated and will be removed soon");
|
||||
error->warning(FLERR, "Comm mode 'multi/old' is deprecated and will be removed soon.\n"
|
||||
"Contact the LAMMPS developers if that creates problems for you.");
|
||||
if (mode == Comm::SINGLE)
|
||||
error->all(FLERR, iarg, "Use cutoff keyword to set cutoff in single mode");
|
||||
if (mode == Comm::MULTI)
|
||||
|
||||
Reference in New Issue
Block a user