merged in current master

This commit is contained in:
Steve Plimpton
2020-01-13 10:34:31 -07:00
parent bf20d72fc3
commit e8d11931ec
2720 changed files with 221313 additions and 28584 deletions

View File

@ -606,8 +606,11 @@ void CreateAtoms::add_random()
double *boxlo,*boxhi;
// 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
RanPark *random = new RanPark(lmp,seed);
for (int ii=0; ii < 30; ii++) random->uniform();
// bounding box for atom creation
// in real units, even if triclinic