Introduce WeightWindowsList class that enables export to HDF5 (#3456)

This commit is contained in:
Paul Romano 2025-06-25 13:44:53 -05:00 committed by GitHub
parent a6db05ac8b
commit 01fa8056d1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 337 additions and 210 deletions

View file

@ -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