mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Correct formatting in src/simulation.cpp
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
f61fad5f75
commit
c5aee746e8
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ void finalize_generation()
|
|||
void initialize_history(Particle* p, int64_t index_source)
|
||||
{
|
||||
// set defaults
|
||||
if(settings::run_mode == RunMode::FIXED_SOURCE) {
|
||||
if (settings::run_mode == RunMode::FIXED_SOURCE) {
|
||||
// initialize random number seed
|
||||
int64_t id = (simulation::total_gen + overall_generation() - 1)*settings::n_particles +
|
||||
simulation::work_index[mpi::rank] + index_source;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue