mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
added list conversion when using HDF5 for mesh reading
This commit is contained in:
parent
4316904cb4
commit
8737ce22dc
1 changed files with 1 additions and 2 deletions
|
|
@ -505,8 +505,7 @@ class StatePoint(object):
|
|||
|
||||
# check for mesh
|
||||
if tally.filters.keys()[n_filters - i - 1] == 'mesh':
|
||||
mesh_idx = tally.filters['mesh'].bins
|
||||
dims = self.meshes[tally.filters['mesh'].bins[0] - 1].dimension
|
||||
dims = list(self.meshes[tally.filters['mesh'].bins[0] - 1].dimension)
|
||||
dims.reverse()
|
||||
dims = np.asarray(dims)
|
||||
if score_str == 'current':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue