You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
meshio.write('test.vtu', points, cells, cell_data=cell_data) returns with exit code 1
Debug Info
Traceback (most recent call last):
File "D:/Documents/PycharmProjects/demo_pygmsh/demo_pygmsh.py", line 36, in <module>
meshio.write('test.vtu', points, cells, cell_data=cell_data)
File "D:\Documents\PycharmProjects\demo_pygmsh\meshio\helpers.py", line 187, in write
field_data=field_data
File "D:\Documents\PycharmProjects\demo_pygmsh\meshio\vtk_io.py", line 236, in write
vtk_mesh = _generate_vtk_mesh(points, cells)
File "D:\Documents\PycharmProjects\demo_pygmsh\meshio\vtk_io.py", line 335, in _generate_vtk_mesh
vtk_array = numpy_support.numpy_to_vtk(points, deep=True)
File "D:\Anaconda3\Lib\site-packages\vtk\util\numpy_support.py", line 131, in numpy_to_vtk
assert z.flags.contiguous, 'Only contiguous arrays are supported.'
AssertionError: Only contiguous arrays are supported.
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
Environment
Windows 10 :: Python 3.6.1 :: Anaconda 4.4.0 (64-bit)
pygmsh (3.1.0)
meshio (1.8.9)
Problem Desc
pg.generate_mesh(geom)
works wellmeshio.write('test.vtu', points, cells, cell_data=cell_data)
returns with exit code 1Debug Info
The text was updated successfully, but these errors were encountered: