git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6553 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2011-07-25 19:37:41 +00:00
parent 9f4b5d91f1
commit 9b6479eb52

View File

@ -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");