git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6209 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -808,7 +808,7 @@ void Input::accelerator()
|
||||
if (domain->box_exist)
|
||||
error->all("Accelerator command after simulation box is defined");
|
||||
if (narg < 1) error->all("Illegal accelerator command");
|
||||
if (strcmp(lmp->asuffix,arg[0]) != 0)
|
||||
if (!lmp->asuffix || (strcmp(lmp->asuffix,arg[0]) != 0))
|
||||
error->all("Accelerator command requires matching command-line -a switch");
|
||||
|
||||
if (strcmp(arg[0],"off") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user