Hello all !
I was asked by a collegue to export a mesh generated by FreeFem++ in a format readable by Fenics.
I first thought about using gmsh format.
There is a command “savegmsh” documented in the manual but it does not seem to work
(see below the log for a basic example).
Any hope for this to work ? or any suggestion about other format we could use ?
Thanks
David
Load: lg_fem lg_mesh lg_mesh3 eigenvalue parallelempi
1 :
2 : mesh Th = square(20, 20, [x, y]);
3 : load “gmsh”
4 : savegmsh(Th, “Th”) error operator ( ,
List of choices
( : , <NSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE> )
( : , <NSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE> )
( : , <NSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE> )
Error line number 4, in file ExportMesh_GMSH.edp, before token )
current line = 4 mpirank 0 / 1
Compile error :
line number :4, )
error Compile error :
line number :4, )
code = 1 mpirank: 0