Skip to content

Commit

Permalink
edit the ww regression test: set N_batch > 1 to get reproducible stde…
Browse files Browse the repository at this point in the history
…v, reduce N_particle and N_census for faster test
  • Loading branch information
ilhamv committed Nov 15, 2024
1 parent 3ab9d8c commit f53b52f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Binary file modified test/regression/kobayashi3-TD-ww/answer.h5
Binary file not shown.
8 changes: 4 additions & 4 deletions test/regression/kobayashi3-TD-ww/input.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,25 +60,25 @@
scores=["flux"],
x=np.linspace(0.0, 60.0, 31),
y=np.linspace(0.0, 100.0, 51),
t=np.linspace(0.0, 200.0, 21),
t=np.linspace(0.0, 200.0, 6),
)

mcdc.tally.cell_tally(source_cell, scores=["flux"])
mcdc.tally.cell_tally(void_cell, scores=["flux"])
mcdc.tally.cell_tally(shield_cell, scores=["flux"])

mcdc.time_census()
mcdc.setting(census_bank_buff=1e3, active_bank_buff=1e3)
mcdc.setting(census_bank_buff=1e2, active_bank_buff=1e3)
mcdc.weight_window(
x=np.linspace(0.0, 60.0, 31),
y=np.linspace(0.0, 100.0, 51),
t=np.linspace(0.0, 200.0, 21),
t=np.linspace(0.0, 200.0, 6),
width=2.5,
epsilon=2e-2,
)

# Setting
mcdc.setting(N_particle=80)
mcdc.setting(N_particle=20, N_batch=2)

# Run
mcdc.run()

0 comments on commit f53b52f

Please sign in to comment.