Skip to content
Snippets Groups Projects

fix minor regressions introduced with !86

Merged Michael Kuron requested to merge staggered into master
Compare and
3 files
+ 21
7
Preferences
Compare changes
Files
3
@@ -109,11 +109,14 @@ class ParallelDataHandling(DataHandling):
@@ -109,11 +109,14 @@ class ParallelDataHandling(DataHandling):
if hasattr(values_per_cell, '__len__'):
if hasattr(values_per_cell, '__len__'):
raise NotImplementedError("Parallel data handling does not support multiple index dimensions")
raise NotImplementedError("Parallel data handling does not support multiple index dimensions")
self._fieldInformation[name] = {'ghost_layers': ghost_layers,
self._fieldInformation[name] = {
'values_per_cell': values_per_cell,
'ghost_layers': ghost_layers,
'layout': layout,
'values_per_cell': values_per_cell,
'dtype': dtype,
'layout': layout,
'alignment': alignment}
'dtype': dtype,
 
'alignment': alignment,
 
'field_type': field_type,
 
}
layout_map = {'fzyx': wlb.field.Layout.fzyx, 'zyxf': wlb.field.Layout.zyxf,
layout_map = {'fzyx': wlb.field.Layout.fzyx, 'zyxf': wlb.field.Layout.zyxf,
'f': wlb.field.Layout.fzyx,
'f': wlb.field.Layout.fzyx,