mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 21:55:41 -04:00
Merge branch 'plot_mat' into from_hdf5
This commit is contained in:
commit
45be98667b
1 changed files with 2 additions and 2 deletions
|
|
@ -446,8 +446,8 @@ def _calculate_xs_element(this, types, temperature=294., sab_name=None,
|
|||
# Condense the data for every nuclide
|
||||
# First create a union energy grid
|
||||
energy_grid = E[0]
|
||||
for n in range(1, len(E)):
|
||||
energy_grid = np.union1d(energy_grid, E[n])
|
||||
for grid in E[1:]:
|
||||
energy_grid = np.union1d(energy_grid, grid)
|
||||
|
||||
# Now we can combine all the nuclidic data
|
||||
data = np.zeros((len(types), len(energy_grid)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue