mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 13:15:39 -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)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
de773a799f84348241ebd65bf7beae8114861d8674b652bfd443d578c146a7d37ca38f2efc5d05124fdbb1cf12829907768351e6b2d6b5f4bd2c121417757507
|
||||
cc3993048a54cb162a3224d69c5734df14e17a4c8784a9b8781537a5a5ecb3d9b8145c3b0e95957e67a68dc098e8ce1bc6c61d39e9125d0d0327a659f4b49808
|
||||
Loading…
Add table
Add a link
Reference in a new issue