File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ def readMZD_to_meshio(filepath):
8181 breaks = np .where (out_polyVIndicesNum [:- 1 ] != out_polyVIndicesNum [1 :])[0 ] + 1
8282 breaks = np .append (breaks , len (out_polyVIndicesNum ))
8383 for b in breaks :
84- poly_nodes_num = out_polyVIndicesNum [start_polyVIndices ] # 3(triangle) or 4 (quad)
84+ poly_nodes_num = out_polyVIndicesNum [start_polyVIndicesNum ] # 3(triangle) or 4 (quad)
8585 end_polyVIndices = start_polyVIndices + poly_nodes_num * (b - start_polyVIndicesNum )
8686 cells [num_nodes_to_name [poly_nodes_num ]] = out_polyVIndices [start_polyVIndices :end_polyVIndices ].reshape (
8787 ((b - start_polyVIndicesNum ), poly_nodes_num ))
@@ -231,7 +231,7 @@ def readMZD_to_meshio_with_split_norm(filepath):
231231 breaks = np .where (out_polyVIndicesNum [:- 1 ] != out_polyVIndicesNum [1 :])[0 ] + 1
232232 breaks = np .append (breaks , len (out_polyVIndicesNum ))
233233 for b in breaks :
234- poly_nodes_num = out_polyVIndicesNum [start_polyVIndices ] # 3(triangle) or 4 (quad)
234+ poly_nodes_num = out_polyVIndicesNum [start_polyVIndicesNum ] # 3(triangle) or 4 (quad)
235235 end_polyVIndices = start_polyVIndices + poly_nodes_num * (b - start_polyVIndicesNum )
236236 cells [num_nodes_to_name [poly_nodes_num ]] = out_polyVIndices [start_polyVIndices :end_polyVIndices ].reshape (
237237 ((b - start_polyVIndicesNum ), poly_nodes_num ))
You can’t perform that action at this time.
0 commit comments