Updating source definitions in examples (#2571)

This commit is contained in:
Patrick Shriwise 2023-06-22 21:36:33 -05:00 committed by GitHub
parent 93a0855c7f
commit 8cc1c33463
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 10 deletions

View file

@ -18,7 +18,7 @@ settings = openmc.Settings()
settings.run_mode = 'fixed source'
settings.batches = 10
settings.particles = 1000
source = openmc.IndependentSource()
source = openmc.CompiledSource()
source.library = 'build/libparameterized_source.so'
source.parameters = 'radius=3.0, energy=14.08e6'
settings.source = source