We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaed400 commit 5918564Copy full SHA for 5918564
1 file changed
tests/unit_tests/test_deplete_activation.py
@@ -45,7 +45,7 @@ def model():
45
46
@pytest.mark.parametrize("reaction_rate_mode,reaction_rate_opts,tolerance", [
47
("direct", {}, 1e-5),
48
- ("flux", {'energies': ENERGIES}, 0.01),
+ ("flux", {'energies': ENERGIES}, 0.1),
49
("flux", {'energies': ENERGIES, 'reactions': ['(n,gamma)']}, 1e-5),
50
("flux", {'energies': ENERGIES, 'reactions': ['(n,gamma)'], 'nuclides': ['W186', 'H3']}, 1e-2),
51
])
@@ -61,11 +61,10 @@ def test_activation(run_in_tmpdir, model, reaction_rate_mode, reaction_rate_opts
61
w186 = openmc.deplete.Nuclide('W186')
62
w186.add_reaction('(n,gamma)', None, 0.0, 1.0)
63
chain.add_nuclide(w186)
64
- chain.export_to_xml('test_chain.xml')
65
66
# Create transport operator
67
op = openmc.deplete.CoupledOperator(
68
- model, 'test_chain.xml',
+ model, chain,
69
normalization_mode="source-rate",
70
reaction_rate_mode=reaction_rate_mode,
71
reaction_rate_opts=reaction_rate_opts,
0 commit comments