Yes, this makes sense. A patch would be welcome!
(Fundamentally, the reason why UNV is such a terrible file format is because
it is essentially a memory dump of a program built decades ago. It has a large
number of "sections" -- 2411 being one of them -- each of which one has to
understand because there are no begin- and end-markers for each section. You
can't just read the file until you find the number 2411: if you wanted to do
it right, you'd have to correctly read the previous section until it is over,
at which point you can inspect the next number and see whether it is 2411,
indicating the 2411 section. In practice, you are probably safe if you skip
forward to a place where a new -1 alone on one line is followed by 2411 alone
on one line, but while this works, this is not the *correct* way to read these
files. It really is a complete nightmare and my preference would be if that
file format was banned from existence by the QAnon high council. My second
choice would be if people/Salome exported meshes in other, better described
and easier to read formats.)
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/