mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Python source class refactor (#2524)
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
ee7b95245a
commit
eda39ad9ca
146 changed files with 648 additions and 4310 deletions
|
|
@ -18,7 +18,7 @@ settings = openmc.Settings()
|
|||
settings.run_mode = 'fixed source'
|
||||
settings.batches = 10
|
||||
settings.particles = 1000
|
||||
source = openmc.Source()
|
||||
source = openmc.IndependentSource()
|
||||
source.library = 'build/libparameterized_source.so'
|
||||
source.parameters = 'radius=3.0, energy=14.08e6'
|
||||
settings.source = source
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue