[deal.II] Re: Issue with GridIn::read_msh

2021-02-27 Thread krishan...@gmail.com
After looking at my .msh file it seems to me that the error might be pointing to the number of physical groups I have in the mesh. I have 4 physical groups which are 4 parts of the boundary with different IDs. If that is the case, I am not sure why n_physical should be less than 2 according to

[deal.II] Issue with GridIn::read_msh

2021-02-27 Thread krishan...@gmail.com
I am trying to read a mesh (.msh file) generated by Gmsh (version 4.7.1), but getting an error. I am using the following commands: GridIn grid_in; grid_in.attach_triangulation(triangulation); std::ifstream input_file("ma_mesh3.msh"); grid_in.read_msh(input_file