It seems that I did not get the reading of physical groups from gmsh v4 mesh format correct in this commit.
v4 format saves entity tags for each element group instead of saving physical groups. To convert from entity tags to physical group numbers we need to read the $Entities section of the msh file, as explained in https://bthierry.pages.math.cnrs.fr/tutorial/gmsh/basics_physical_vs_elementary/ and the gmsh documentation. Is version 4 of the gmsh mesh format not used by anyone out there? Best regards Kostas On Sun, Dec 2, 2018 at 9:16 PM Konstantinos Poulios <logar...@googlemail.com> wrote: > logari81 pushed a change to branch master. > > from 3326ae3 minor fix > new 18bcf86 Add initial support for gmsh mesh format version 4 > > > Summary of changes: > src/getfem_import.cc | 460 > ++++++++++++++++++++++++++------------------------- > 1 file changed, 239 insertions(+), 221 deletions(-) > >