mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Fix extraction of heating number from ACE file
This commit is contained in:
parent
9cfd7dee35
commit
2ab24d85cd
2 changed files with 2 additions and 2 deletions
|
|
@ -622,7 +622,7 @@ class IncidentNeutron(EqualityMixin):
|
|||
data.energy[strT] = energy
|
||||
total_xs = ace.xss[i + n_energy : i + 2*n_energy]
|
||||
absorption_xs = ace.xss[i + 2*n_energy : i + 3*n_energy]
|
||||
heating_number = ace.xss[i + 3*n_energy : i + 4*n_energy]*EV_PER_MEV
|
||||
heating_number = ace.xss[i + 4*n_energy : i + 5*n_energy]*EV_PER_MEV
|
||||
|
||||
# Create redundant reactions (total, absorption, and heating)
|
||||
total = Reaction(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue