mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Apply formatting fixes from code review
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
3c408c8c13
commit
2ec02d6472
7 changed files with 10 additions and 10 deletions
|
|
@ -270,7 +270,7 @@ void initialize_source()
|
|||
// initialize random number seed
|
||||
int64_t id = simulation::total_gen*settings::n_particles +
|
||||
simulation::work_index[mpi::rank] + i + 1;
|
||||
uint64_t prn_seeds[N_STREAMS];
|
||||
uint64_t prn_seeds[N_STREAMS];
|
||||
set_particle_seed(id, prn_seeds);
|
||||
|
||||
// sample external source distribution
|
||||
|
|
@ -334,7 +334,7 @@ void fill_source_bank_fixedsource()
|
|||
// initialize random number seed
|
||||
int64_t id = (simulation::total_gen + overall_generation()) *
|
||||
settings::n_particles + simulation::work_index[mpi::rank] + i + 1;
|
||||
uint64_t prn_seeds[N_STREAMS];
|
||||
uint64_t prn_seeds[N_STREAMS];
|
||||
set_particle_seed(id, prn_seeds);
|
||||
|
||||
// sample external source distribution
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue