-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement basic parser for triangular meshes from .MSH version 4 (GMSH) #52
Conversation
Codecov Report
@@ Coverage Diff @@
## master #52 +/- ##
===========================================
+ Coverage 67.21% 92.19% +24.98%
===========================================
Files 6 7 +1
Lines 302 282 -20
===========================================
+ Hits 203 260 +57
+ Misses 99 22 -77
Continue to review full report at Codecov.
|
relevant to #11 |
@gwater Is this good to merge? |
Yes, it doesn't implement the complete feature set of the file format but it can handle the unimplemented cases (giving warnings) and successfully loads triangular meshes (which covers my personal use case). I'm not planning to implement additional features in this PR. |
you should take a look at the registration method though - as I understand this is typically done in FileIO, not through the |
I added a test case to keep coverage up. I still don't know how to properly do the file type registration – it appear two PRs need to be applied simultaneously to FileIO and MeshIO? Guidance would be appreciated |
Needs this to be merged & tagged first: JuliaIO/MeshIO.jl#52
I removed the init and created a proper registry entry in FileIO: JuliaIO/FileIO.jl#258 |
thanks! |
as far as i can tell, tests ran against an outdated version of FileIO.jl |
simplified tests a little and triggered retesting |
ok i guess this wont work until the other PR is merged and that PR is waiting for this one 😅 |
Ok, can confirm tests pass locally when both PRs are combined:
|
any chance this can move ahead? |
Thank you :) |
thanks! |
I partially implemented a parser for .MSH files (version 4) based on the current GMSH manual. Its not complete; especially missing is any support for non-Triangle elements (lines, hedrons, points, etc). Also, only the text version of the format is supported.