openmc
openmc copied to clipboard
Delayed neutrons are emitted promptly
Bug Description
I have not written any test cases, but we can see that in physics.cpp's sample_fission_neutron, in the delayed case, the decay time is not sampled and added on to the site's time entry.
To resolve
Sample a decay time for the precursor, and add that value to site.time. This alters the random number stream, so some means of preserving the prior RNG stream would be needed, too.