From ba5a6714a23e9fd6f1444a9b60e50f4c2537461a Mon Sep 17 00:00:00 2001 From: Adam Nelson Date: Fri, 11 Nov 2016 22:13:14 -0500 Subject: [PATCH] Forgot enrichment --- openmc/plotter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openmc/plotter.py b/openmc/plotter.py index 0e604c8c17..4201abf9d5 100644 --- a/openmc/plotter.py +++ b/openmc/plotter.py @@ -141,13 +141,14 @@ def plot_xs(this, types, divisor_types=None, temperature=294., axis=None, else: raise TypeError("Invalid type for plotting") - E, data = calculate_xs(this, types, temperature, sab_name, cross_sections) + E, data = calculate_xs(this, types, temperature, sab_name, cross_sections, + enrichment) if divisor_types: cv.check_length('divisor types', divisor_types, len(types), len(types)) Ediv, data_div = calculate_xs(this, divisor_types, temperature, - sab_name, cross_sections) + sab_name, cross_sections, enrichment) # Create a new union grid, interpolate data and data_div on to that # grid, and then do the actual division