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:
Erik B Knudsen 2024-05-15 22:49:04 +02:00 committed by GitHub
parent a7d6939c11
commit 1702b4554b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 823 additions and 240 deletions

View file

@ -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();
}