openmc icon indicating copy to clipboard operation
openmc copied to clipboard

Delayed neutrons are emitted promptly

Open gridley opened this issue 1 year ago • 0 comments

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.

gridley avatar Jun 12 '24 19:06 gridley