HERMES does not read MED boundary information properly
Summary
Following commit 8fa3dd1b, TelemacFile.print_info
is now able to display boundary information of a TELEMAC mesh when no boundary conditions file has been provided. However, while this works for SELAFIN files, it does not for MED meshes. For the latter, a boundary conditions file is still required to extract boundary information on nodes and elements.
Environment
- Operating System: all
- TELEMAC version: 9.0
Steps to reproduce
Run the following command on any MED mesh containing boundary information:
run_telfile.py scan my_mesh.med
What is the current bug behaviour?
The returned number of points and elements is always 0:
~> Boundary info
- Number of boundary points: 0
- Boundary element type: bnd segment
- Number of boundary elements: 0
What is the expected correct behaviour?
If the MED file contains boundary information on its elements, it should be displayed, e.g. for a MED mesh with 3606 bounday edges:
~> Boundary info
- Number of boundary points: 3606
- Boundary element type: bnd segment
- Number of boundary elements: 3606