mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
Introduce WeightWindowsList class that enables export to HDF5 (#3456)
This commit is contained in:
parent
a6db05ac8b
commit
01fa8056d1
6 changed files with 337 additions and 210 deletions
|
|
@ -162,7 +162,7 @@ solver, the Python input just needs to load the h5 file::
|
|||
|
||||
settings.weight_window_checkpoints = {'collision': True, 'surface': True}
|
||||
settings.survival_biasing = False
|
||||
settings.weight_windows = openmc.hdf5_to_wws('weight_windows.h5')
|
||||
settings.weight_windows = openmc.WeightWindowsList.from_hdf5('weight_windows.h5')
|
||||
settings.weight_windows_on = True
|
||||
|
||||
The :class:`~openmc.WeightWindowGenerator` instance is not needed to load an
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue