mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Force re-evaluation of cross-sections when each particle is born. Closes #87 on github.
This commit is contained in:
parent
bfb06a026c
commit
e0968e32bd
1 changed files with 3 additions and 0 deletions
|
|
@ -61,6 +61,9 @@ contains
|
|||
! Initialize number of events to zero
|
||||
n_event = 0
|
||||
|
||||
! Force calculation of cross-sections by setting last energy to zero
|
||||
micro_xs % last_E = ZERO
|
||||
|
||||
do while (p % alive)
|
||||
|
||||
! Calculate microscopic and macroscopic cross sections -- note: if the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue