mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Remove separate RNG stream for photons
This commit is contained in:
parent
8a07feebcb
commit
e0e5936b79
3 changed files with 5 additions and 13 deletions
|
|
@ -117,9 +117,7 @@ void sample_neutron_reaction(Particle& p)
|
|||
|
||||
// Create secondary photons
|
||||
if (settings::photon_transport) {
|
||||
p.stream_ = STREAM_PHOTON;
|
||||
sample_secondary_photons(p, i_nuclide);
|
||||
p.stream_ = STREAM_TRACKING;
|
||||
}
|
||||
|
||||
// If survival biasing is being used, the following subroutine adjusts the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue