This commit is contained in:
Axel Kohlmeyer
2024-02-01 20:15:15 -05:00
parent 2c9e652772
commit 33e57e50e8

View File

@ -43,8 +43,7 @@ FixWallReflectStochastic(LAMMPS *lmp, int narg, char **arg) :
if (narg < 8) error->all(FLERR,"Illegal fix wall/reflect/stochastic command");
if (domain->triclinic != 0)
error->all(FLERR, "Fix wall/reflect/stochastic cannot be used with "
"triclinic simulation box");
error->all(FLERR, "Fix wall/reflect/stochastic cannot be used with triclinic simulation box");
dynamic_group_allow = 1;
@ -168,8 +167,7 @@ FixWallReflectStochastic(LAMMPS *lmp, int narg, char **arg) :
xscale = domain->lattice->xlattice;
yscale = domain->lattice->ylattice;
zscale = domain->lattice->zlattice;
}
else xscale = yscale = zscale = 1.0;
} else xscale = yscale = zscale = 1.0;
for (int m = 0; m < nwall; m++) {
if (wallstyle[m] != CONSTANT) continue;