mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Merge pull request #2015 from aprilnovak/lost-particles
Move lost particle reset from finalize() to reset()
This commit is contained in:
commit
dedafa49f6
1 changed files with 2 additions and 1 deletions
|
|
@ -121,7 +121,6 @@ int openmc_finalize()
|
|||
settings::write_initial_source = false;
|
||||
|
||||
simulation::keff = 1.0;
|
||||
simulation::n_lost_particles = 0;
|
||||
simulation::need_depletion_rx = false;
|
||||
simulation::total_gen = 0;
|
||||
|
||||
|
|
@ -174,6 +173,8 @@ int openmc_reset()
|
|||
|
||||
settings::cmfd_run = false;
|
||||
|
||||
simulation::n_lost_particles = 0;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue