openmc.data.LevelInelastic¶
-
class
openmc.data.
LevelInelastic
(threshold, mass_ratio)[source]¶ Level inelastic scattering
Parameters: Variables: -
classmethod
from_ace
(ace, idx)[source]¶ Generate level inelastic distribution from an ACE table
Parameters: - ace (openmc.data.ace.Table) – An ACE table
- idx (int) – Offset to read from in XSS array (default of zero)
Returns: Level inelastic scattering distribution
Return type:
-
classmethod
from_hdf5
(group)[source]¶ Generate level inelastic distribution from HDF5 data
Parameters: group (h5py.Group) – HDF5 group to read from Returns: Level inelastic scattering distribution Return type: openmc.data.LevelInelastic
-
classmethod