mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Merge pull request #2226 from marquezj/fix_elastic_distribution
Fix elastic distribution
This commit is contained in:
commit
1d140e348d
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