git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14589 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -265,7 +265,7 @@ void Comm::modify_params(int narg, char **arg)
|
||||
} else if (strcmp(arg[iarg],"cutoff") == 0) {
|
||||
if (iarg+2 > narg) error->all(FLERR,"Illegal comm_modify command");
|
||||
if (mode == MULTI)
|
||||
error->all(FLERR,"Use cutoff/multi flag to set cutoff in multi mode");
|
||||
error->all(FLERR,"Use cutoff/multi keyword to set cutoff in multi mode");
|
||||
cutghostuser = force->numeric(FLERR,arg[iarg+1]);
|
||||
if (cutghostuser < 0.0)
|
||||
error->all(FLERR,"Invalid cutoff in comm_modify command");
|
||||
@ -274,7 +274,7 @@ void Comm::modify_params(int narg, char **arg)
|
||||
int i,nlo,nhi;
|
||||
double cut;
|
||||
if (mode == SINGLE)
|
||||
error->all(FLERR,"Use cutoff flag to set cutoff in single mode");
|
||||
error->all(FLERR,"Use cutoff keyword to set cutoff in single mode");
|
||||
if (domain->box_exist == 0)
|
||||
error->all(FLERR,
|
||||
"Cannot set cutoff/multi before simulation box is defined");
|
||||
|
||||
Reference in New Issue
Block a user