git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5655 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -196,6 +196,12 @@ void Set::command(int narg, char **arg)
|
||||
zimageflag = 1;
|
||||
zimage = atoi(arg[iarg+3]);
|
||||
}
|
||||
if (ximageflag && ximage && !domain->xperiodic)
|
||||
error->all("Cannot set non-zero image flag for non-periodic dimension");
|
||||
if (yimageflag && yimage && !domain->yperiodic)
|
||||
error->all("Cannot set non-zero image flag for non-periodic dimension");
|
||||
if (zimageflag && zimage && !domain->zperiodic)
|
||||
error->all("Cannot set non-zero image flag for non-periodic dimension");
|
||||
set(IMAGE);
|
||||
iarg += 4;
|
||||
} else if (strcmp(arg[iarg],"bond") == 0) {
|
||||
|
||||
Reference in New Issue
Block a user