From 6c351bf7bc913851d66acd26eb6f4c304b2d2ead Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Wed, 13 Mar 2019 16:13:57 -0500 Subject: [PATCH] Make sure ACE heating number is multipled by total cross section --- openmc/data/neutron.py | 2 +- tests/regression_tests/tallies/results_true.dat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openmc/data/neutron.py b/openmc/data/neutron.py index bcb830aa06..2ff55700fd 100644 --- a/openmc/data/neutron.py +++ b/openmc/data/neutron.py @@ -637,7 +637,7 @@ class IncidentNeutron(EqualityMixin): data.reactions[101] = absorption heating = Reaction(301) - heating.xs[strT] = Tabulated1D(energy, heating_number) + heating.xs[strT] = Tabulated1D(energy, heating_number*total_xs) heating.redundant = True data.reactions[301] = heating diff --git a/tests/regression_tests/tallies/results_true.dat b/tests/regression_tests/tallies/results_true.dat index 945e20fc6e..de1a18eff2 100644 --- a/tests/regression_tests/tallies/results_true.dat +++ b/tests/regression_tests/tallies/results_true.dat @@ -1 +1 @@ -cc3993048a54cb162a3224d69c5734df14e17a4c8784a9b8781537a5a5ecb3d9b8145c3b0e95957e67a68dc098e8ce1bc6c61d39e9125d0d0327a659f4b49808 \ No newline at end of file +c37e0468f1684f7810429332721762884f3cdf0429d38caa99500bbde04ad84cf1e1639adc46b6db44b28b6f31028ed029f85920c8164d77463b6d89336043a8 \ No newline at end of file