Skip to content

Commit

Permalink
according to openmc guidelines, using IndependentSource instead of So…
Browse files Browse the repository at this point in the history
…urce
  • Loading branch information
RemDelaporteMathurin committed Dec 19, 2024
1 parent 894747f commit 72e00dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libra_toolbox/neutronics/neutron_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 72e00dd

Please sign in to comment.