mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Fix elastic distribution
Elastic distributions were created but not used
This commit is contained in:
parent
cbd8376238
commit
607be496bc
1 changed files with 2 additions and 2 deletions
|
|
@ -730,10 +730,10 @@ class ThermalScattering(EqualityMixin):
|
|||
|
||||
if ace.nxs[5] == 3:
|
||||
xs = incoherent_xs
|
||||
dist = incoherent_dist
|
||||
distribution = incoherent_dist
|
||||
elif ace.nxs[5] == 4:
|
||||
xs = coherent_xs
|
||||
dist = coherent_dist
|
||||
distribution = coherent_dist
|
||||
else:
|
||||
# Create mixed cross section -- note that coherent must come
|
||||
# first due to assumption on C++ side
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue