Commit a7071991 authored by Geordie McBain's avatar Geordie McBain Committed by René Fritze

cell data variable name and cell-type swapped in meshio 4 cell_data_dict #1092

parent 53acf497
......@@ -63,7 +63,7 @@ def load_gmsh(filename):
boundary_types = {k: v[0] for k, v in data.field_data.items() if v[1] == 1}
cell_data_dict = data.cell_data_dict
if 'line' in cells_dict and 'line' in cell_data_dict and 'line' in cell_data_dict['gmsh:physical']:
if 'line' in cells_dict and 'gmsh:physical' in cell_data_dict and 'line' in cell_data_dict['gmsh:physical']:
superentities = grid.superentities(2, 1)
# find the edge for given vertices.
......
Markdown is supported
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