Commits

J.S. Oishi committed 6d16775

corrected bug in load_all function

Comments (0)

Files changed (1)

dedalus/utils/parallelism.py

     local_size = fi['/fields/u/0'].shape
     dtype = fi['/fields/u/0'].dtype
     data = np.empty((nproc,)+local_size, dtype=dtype)
+    fi[field].read_direct(data[0])
     fi.close()
     for i in range(1,nproc):
         fi = h5py.File(data_file % i)