transfer pRNG init changes from fix deposit to fix pour

This commit is contained in:
Axel Kohlmeyer
2019-07-29 20:03:16 -04:00
parent 000d5b7cc2
commit 0f9112d986

View File

@ -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