git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6553 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -1344,7 +1344,7 @@ void Comm::set(int narg, char **arg)
|
||||
} else if (strcmp(arg[iarg],"vel") == 0) {
|
||||
if (iarg+2 > narg) error->all("Illegal communicate command");
|
||||
if (strcmp(arg[iarg+1],"yes") == 0) ghost_velocity = 1;
|
||||
else if (strcmp(arg[iarg+1],"yes") == 0) ghost_velocity = 0;
|
||||
else if (strcmp(arg[iarg+1],"no") == 0) ghost_velocity = 0;
|
||||
else error->all("Illegal communicate command");
|
||||
iarg += 2;
|
||||
} else error->all("Illegal communicate command");
|
||||
|
||||
Reference in New Issue
Block a user