openmc.data.NBodyPhaseSpace¶
- class openmc.data.NBodyPhaseSpace(total_mass, n_particles, atomic_weight_ratio, q_value)[source]¶
N-body phase space distribution
- Parameters
- Variables
- classmethod from_ace(ace, idx, q_value)[source]¶
Generate N-body phase space distribution from ACE data
- Parameters
ace (openmc.data.ace.Table) – ACE table to read from
idx (int) – Index in XSS array of the start of the energy distribution data (LDIS + LOCC - 1)
q_value (float) – Q-value for reaction in eV
- Returns
N-body phase space distribution
- Return type
- classmethod from_endf(file_obj)[source]¶
Generate N-body phase space distribution from an ENDF evaluation
- Parameters
file_obj (file-like object) – ENDF file positions at the start of the N-body phase space distribution
- Returns
N-body phase space distribution
- Return type