Unverified Commit 0f9112d9 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

transfer pRNG init changes from fix deposit to fix pour

parent 000d5b7c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -166,8 +166,11 @@ FixPour::FixPour(LAMMPS *lmp, int narg, char **arg) :
  if (idnext) find_maxid();

  // random number generator, same for all procs
  // warm up the generator 30x to avoid correlations in first-particle
  // positions if runs are repeated with consecutive seeds

  random = new RanPark(lmp,seed);
  for (int ii=0; ii < 30; ii++) random->uniform();

  // allgather arrays