dolfin-convert not working with quadrilateral
Issue #970
new
Hi
Just tried to convert a gmsh file using Dolfin-convert for quadrilateral elements and got the output
Converting from Gmsh format (.msh, .gmsh) to DOLFIN XML format
Traceback (most recent call last):
File "/usr/bin/dolfin-convert", line 132, in <module>
main(sys.argv[1:])
File "/usr/bin/dolfin-convert", line 79, in main
meshconvert.convert2xml(ifilename, ofilename, iformat=iformat)
File "/usr/lib/python2.7/dist-packages/dolfin_utils/meshconvert/meshconvert.py", line 1299, in convert2xml
convert(ifilename, XmlHandler(ofilename), iformat=iformat)
File "/usr/lib/python2.7/dist-packages/dolfin_utils/meshconvert/meshconvert.py", line 1320, in convert
gmsh2xml(ifilename, handler)
File "/usr/lib/python2.7/dist-packages/dolfin_utils/meshconvert/meshconvert.py", line 345, in gmsh2xml
mesh_editor.open( mesh, highest_dim, highest_dim )
NotImplementedError: Wrong number or type of arguments for overloaded function 'MeshEditor_open'.
Possible C/C++ prototypes are:
dolfin::MeshEditor::open(dolfin::Mesh &,dolfin::CellType::Type,std::size_t,std::size_t,std::size_t)
dolfin::MeshEditor::open(dolfin::Mesh &,std::string,std::size_t,std::size_t,std::size_t)
dolfin::MeshEditor::open(dolfin::Mesh &,std::string,std::size_t,std::size_t)
Aborted (core dumped)
Comments (2)
-
-
This error is also present for triangular meshes. Works with
2017.1.0
- Log in to comment
Agree, there is a problem with
dolfin-convert
... I have a fix in progress. However, I think it will not support quads anyway. You might want to look at the meshio project.