mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Increase number of batches for test_lib.py::test_reset
This commit is contained in:
parent
dc0850541b
commit
7b31eb5699
1 changed files with 3 additions and 3 deletions
|
|
@ -387,12 +387,12 @@ def test_reset(lib_run):
|
|||
openmc.lib.hard_reset()
|
||||
openmc.lib.simulation_init()
|
||||
try:
|
||||
for i in range(10):
|
||||
for i in range(20):
|
||||
openmc.lib.next_batch()
|
||||
|
||||
# Make sure there are 5 realizations for the 5 active batches.
|
||||
assert openmc.lib.num_realizations() == 5
|
||||
assert openmc.lib.tallies[2].num_realizations == 5
|
||||
assert openmc.lib.num_realizations() == 15
|
||||
assert openmc.lib.tallies[2].num_realizations == 15
|
||||
_, keff_sd1 = openmc.lib.keff()
|
||||
tally_sd1 = openmc.lib.tallies[2].std_dev[0]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue