Unverified Commit b160d9b9 authored by To Quy-Dong's avatar To Quy-Dong Committed by GitHub
Browse files

Add files via upload

parent a605fa86
Loading
Loading
Loading
Loading
+3 −3
Changes for src/USER-MISC/fix_wall_stochastic.cpp: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -63,9 +63,9 @@ FixWallStochastic::FixWallStochastic(LAMMPS *lmp, int narg, char **arg) :
  } else error->all(FLERR,"Illegal fix wall/stochastic command");

  if (reflectionstyle != NONE) {
    seedfix = force->numeric(FLERR,arg[4]);
    if (seedfix > 900000000) error->all(FLERR,"Random seed must be less than 900000000");
    random = new RanMars(lmp,seedfix);
    seedfix = force->inumeric(FLERR,arg[4]);
    if (seedfix <=0) error->all(FLERR,"Random seed must be a postive number");
    random = new RanMars(lmp,seedfix + comm->me);

    int iarg = 5;
    while (iarg < narg) {