git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@1272 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -39,7 +39,8 @@ FixWallLJ126::FixWallLJ126(LAMMPS *lmp, int narg, char **arg) :
|
||||
vector_flag = 1;
|
||||
size_vector = 3;
|
||||
scalar_vector_freq = 1;
|
||||
extensive = 1;
|
||||
extscalar = 1;
|
||||
extvector = 1;
|
||||
|
||||
if (strcmp(arg[3],"xlo") == 0) {
|
||||
dim = 0;
|
||||
@ -81,6 +82,9 @@ FixWallLJ126::FixWallLJ126(LAMMPS *lmp, int narg, char **arg) :
|
||||
error->all("Cannot use wall in periodic dimension");
|
||||
if (dim == 2 && domain->zperiodic)
|
||||
error->all("Cannot use wall in periodic dimension");
|
||||
|
||||
wall_flag = 0;
|
||||
wall[0] = wall[1] = wall[2] = wall[3] = 0.0;
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user