Commit b496dd5e authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

bugfix: generate correct shape when copying initial condition

parent fca444e1
Pipeline #29688 passed with stage
in 14 minutes and 50 seconds
......@@ -879,8 +879,8 @@ class DNS(_code):
# the case of increasing/decreasing by the same factor in all directions.
# in principle we could write something more generic, but i'm not sure
# how complicated that would be
dst_shape = (self.parameters['nz'],
self.parameters['ny'],
dst_shape = (self.parameters['ny'],
self.parameters['nz'],
(self.parameters['nx']+2) // 2,
3)
src_file = h5py.File(src_file_name, 'r')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment