refactor of prn() interface and python interface changes

This commit is contained in:
John Tramm 2019-12-04 16:35:01 +00:00
parent 2ec02d6472
commit 638172e68d
53 changed files with 494 additions and 534 deletions

View file

@ -476,7 +476,7 @@ void initialize_history(Particle* p, int64_t index_source)
// set random number seed
int64_t particle_seed = (simulation::total_gen + overall_generation() - 1)
* settings::n_particles + p->id_;
set_particle_seed(particle_seed, p->prn_seeds_);
init_particle_seeds(particle_seed, p->prn_seeds_);
// set particle trace
simulation::trace = false;