mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -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
|
|
@ -37,7 +37,6 @@ Simulation Settings
|
|||
|
||||
openmc.read_source_file
|
||||
openmc.write_source_file
|
||||
openmc.wwinp_to_wws
|
||||
|
||||
Material Specification
|
||||
----------------------
|
||||
|
|
@ -259,8 +258,16 @@ Variance Reduction
|
|||
:template: myclass
|
||||
|
||||
openmc.WeightWindows
|
||||
openmc.WeightWindowsList
|
||||
openmc.WeightWindowGenerator
|
||||
|
||||
.. autosummary::
|
||||
:toctree: generated
|
||||
:nosignatures:
|
||||
:template: myfunction.rst
|
||||
|
||||
openmc.hdf5_to_wws
|
||||
openmc.wwinp_to_wws
|
||||
|
||||
|
||||
Coarse Mesh Finite Difference Acceleration
|
||||
|
|
|
|||
|
|
@ -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