openmc.data.LevelInelastic

class openmc.data.LevelInelastic(threshold, mass_ratio)[source]

Level inelastic scattering

Parameters
  • threshold (float) – Energy threshold in the laboratory system, \((A + 1)/A * |Q|\)

  • mass_ratio (float) – \((A/(A + 1))^2\)

Variables
  • threshold (float) – Energy threshold in the laboratory system, \((A + 1)/A * |Q|\)

  • mass_ratio (float) – \((A/(A + 1))^2\)

classmethod from_ace(ace, idx)[source]

Generate level inelastic distribution from an ACE table

Parameters
Returns

Level inelastic scattering distribution

Return type

openmc.data.LevelInelastic

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

to_hdf5(group)[source]

Write distribution to an HDF5 group

Parameters

group (h5py.Group) – HDF5 group to write to