Wrong boundary point detection in TelemacFile.add_bnd
At line 1586 of scripts/python3/data_manip/extraction/telemac_file.py, a different flag is set for the points on the boundary.
After having extracted the list of the indices of the points on the border in self._nbor
, the flag self._ipob3
is set to 0 on the interior points
self._ipob3[:] = 0
and to the point index on the border points.
self._ipob3[self._nbor] = self._nbor
If the point with index 0 is on the border, it will get the same flag as an interior point.
Even if we think that using just a different flag is enough
self._ipob3[self._nbor] = 1
we assumed that there was an original reason for using a counter. Yet in this case it should start from 1
self._ipob3[self._nbor] = self._nbor+1