mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
refactor of prn() interface and python interface changes
This commit is contained in:
parent
2ec02d6472
commit
638172e68d
53 changed files with 494 additions and 534 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue