mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
Give seed to surface source testing
This commit is contained in:
parent
12621cb993
commit
8b08da7405
4 changed files with 3 additions and 0 deletions
|
|
@ -20,6 +20,7 @@
|
|||
<surf_src_read>
|
||||
<path>surface_source_true.h5</path>
|
||||
</surf_src_read>
|
||||
<seed>1</seed>
|
||||
</settings>
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<tallies>
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
<surf_ids>1</surf_ids>
|
||||
<max_surf_banks>1000</max_surf_banks>
|
||||
</surf_src_write>
|
||||
<seed>1</seed>
|
||||
</settings>
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<tallies>
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -39,6 +39,7 @@ def model(request):
|
|||
openmc_model.settings.run_mode = 'fixed source'
|
||||
openmc_model.settings.particles = 1000
|
||||
openmc_model.settings.batches = 10
|
||||
openmc_model.settings.seed = 1
|
||||
|
||||
if surf_src_op == 'write':
|
||||
point = openmc.stats.Point((0, 0, 0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue