From 72e00dd4335e98c714b23e3e4299303991df1366 Mon Sep 17 00:00:00 2001 From: RemDelaporteMathurin Date: Thu, 19 Dec 2024 16:28:48 -0500 Subject: [PATCH] according to openmc guidelines, using IndependentSource instead of Source --- libra_toolbox/neutronics/neutron_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libra_toolbox/neutronics/neutron_source.py b/libra_toolbox/neutronics/neutron_source.py index 8067020..31a041b 100644 --- a/libra_toolbox/neutronics/neutron_source.py +++ b/libra_toolbox/neutronics/neutron_source.py @@ -67,7 +67,7 @@ def A325_generator_diamond(center=(0, 0, 0), reference_uvw=(0, 0, 1)) -> Iterabl ) strength = yields[i] - my_source = openmc.Source( + my_source = openmc.IndependentSource( space=space, angle=angle, energy=energy,