From 2ff33e55111a6ad7b9720c558f5918b05d52afd1 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Fri, 22 Jan 2016 13:29:59 -0600 Subject: [PATCH] Modify test_energy_laws to include Ta-181 Ta-181 is among a handful of nuclides that uses Kalbach-Mann systematics with linear-linear interpolation. --- tests/test_energy_laws/geometry.xml | 2 -- tests/test_energy_laws/materials.xml | 10 +++++----- tests/test_energy_laws/results_true.dat | 2 +- tests/test_energy_laws/settings.xml | 3 --- tests/test_energy_laws/test_energy_laws.py | 21 +++++++++++++++------ 5 files changed, 21 insertions(+), 17 deletions(-) diff --git a/tests/test_energy_laws/geometry.xml b/tests/test_energy_laws/geometry.xml index bb0e15d47f..c42f45597d 100644 --- a/tests/test_energy_laws/geometry.xml +++ b/tests/test_energy_laws/geometry.xml @@ -1,7 +1,5 @@ - - diff --git a/tests/test_energy_laws/materials.xml b/tests/test_energy_laws/materials.xml index 1a40aeb1db..97f9b84be1 100644 --- a/tests/test_energy_laws/materials.xml +++ b/tests/test_energy_laws/materials.xml @@ -1,11 +1,11 @@ - + 71c - - - + + + + - diff --git a/tests/test_energy_laws/results_true.dat b/tests/test_energy_laws/results_true.dat index 777d0790d4..48eb6bc81b 100644 --- a/tests/test_energy_laws/results_true.dat +++ b/tests/test_energy_laws/results_true.dat @@ -1,2 +1,2 @@ k-combined: -2.421637E+00 5.324089E-03 +2.130076E+00 1.938907E-03 diff --git a/tests/test_energy_laws/settings.xml b/tests/test_energy_laws/settings.xml index 9f0e8ed05f..1c3f444f0f 100644 --- a/tests/test_energy_laws/settings.xml +++ b/tests/test_energy_laws/settings.xml @@ -1,14 +1,11 @@ - 10 5 1000 - - diff --git a/tests/test_energy_laws/test_energy_laws.py b/tests/test_energy_laws/test_energy_laws.py index 5f436e4694..0e593876fc 100644 --- a/tests/test_energy_laws/test_energy_laws.py +++ b/tests/test_energy_laws/test_energy_laws.py @@ -1,11 +1,20 @@ #!/usr/bin/env python -"""The purpose of this test is to provide coverage of Watt, N-body phase space, -and evaporation energy distributions. The only nuclide that uses a Watt fission -spectrum in ENDF/B-VII.1 is U-233. The only nuclide that has a reaction using -the N-body phase space distribution is H-2(n.2n). Several nuclides have -reactions with evaporation spectra. In this test, the material is composed of -U-233, H-2, and Na-23 (which has several reactions with evaporation spectra. +"""The purpose of this test is to provide coverage of energy distributions that +are not covered in other tests. It has a single material with the following +nuclides: + +U-233: Only nuclide that has a Watt fission spectrum + +H-2: Only nuclide that has an N-body phase space distribution, in this case for +(n,2n) + +Na-23: Has an evaporation spectrum and also has reactions that have multiple +angle-energy distributions, so it provides coverage for both of those +situations. + +Ta-181: One of a few nuclides that has reactions with Kalbach-Mann distributions +that use linear-linear interpolation. """