mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
For real fix unassigned energy in SCORE_PROMPT
This commit is contained in:
parent
dce068d777
commit
13da37de4b
1 changed files with 7 additions and 6 deletions
|
|
@ -471,16 +471,17 @@ contains
|
|||
end if
|
||||
|
||||
else
|
||||
! make sure the correct energy is used
|
||||
if (t % estimator == ESTIMATOR_TRACKLENGTH) then
|
||||
E = p % E
|
||||
else
|
||||
E = p % last_E
|
||||
end if
|
||||
|
||||
if (i_nuclide > 0) then
|
||||
score = micro_xs(i_nuclide) % fission * nuclides(i_nuclide) % &
|
||||
nu(E, EMISSION_PROMPT) * atom_density * flux
|
||||
else
|
||||
! make sure the correct energy is used
|
||||
if (t % estimator == ESTIMATOR_TRACKLENGTH) then
|
||||
E = p % E
|
||||
else
|
||||
E = p % last_E
|
||||
end if
|
||||
|
||||
score = ZERO
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue