mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -04:00
Restricted file source (#2916)
Co-authored-by: church89 <l.chierici89@gmail.com> Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
a7d6939c11
commit
1702b4554b
32 changed files with 823 additions and 240 deletions
|
|
@ -750,7 +750,7 @@ void free_memory_simulation()
|
|||
|
||||
void transport_history_based_single_particle(Particle& p)
|
||||
{
|
||||
while (true) {
|
||||
while (p.alive()) {
|
||||
p.event_calculate_xs();
|
||||
if (!p.alive())
|
||||
break;
|
||||
|
|
@ -761,8 +761,6 @@ void transport_history_based_single_particle(Particle& p)
|
|||
p.event_collide();
|
||||
}
|
||||
p.event_revive_from_secondary();
|
||||
if (!p.alive())
|
||||
break;
|
||||
}
|
||||
p.event_death();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue