Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tools/paraview-meshio-plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ def RequestData(self, request, inInfoVec, outInfoVec):
cell_types = np.array([], dtype=np.ubyte)
cell_offsets = np.array([], dtype=int)
cell_conn = np.array([], dtype=int)
for meshio_type, data in cells:
for cellblock in cells:
meshio_type = cellblock.type
data = cellblock.data
vtk_type = meshio_to_vtk_type[meshio_type]
ncells, npoints = data.shape
cell_types = np.hstack(
Expand Down