| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good to me! I left one comment about some commented out stuff; unsure if we should remove this before merge or keep it in, maybe with some added TODO statement?
More generally, I'm also unsure about the higher order elements, because currently the higher-order elements in fenris assume an affine reference -> physical mapping... But maybe we can merge and create an issue for fixing this in the future. I believe the fix is to support fully isoparametric elements and import directly into these, then having some kind of assume_affine() function to turn them into elements with affine transformations. Not sure!
Sorry, something went wrong.
| { | ||
| return Err(eyre!("node block entity does not have the right dimension for this mesh")); | ||
| } | ||
| */ |
There was a problem hiding this comment.
Is this still relevant? Should it be left in but commented? It's not clear to me why it's commented out, which probably means it should either be removed or fixed? (Or replaced with a TODO or something)
Sorry, something went wrong.
| weights: self.weights, | ||
| data: data, | ||
| } | ||
| } |
There was a problem hiding this comment.
This appears to be unrelated to MSH, and seems to be the same functionality as in #49 ? Also applies to code below.
Sorry, something went wrong.
There was a problem hiding this comment.
Right, that was not intended.
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good to me, thanks!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This implements loading of Fenris meshes from MSH files/byte slices using the mshio crate. Only Gmsh MSH file format 4.1 is currently supported.
The io::msh module provides the functions load_msh_from_file and load_msh_from_bytes. The specified Connectivity type determines which element blocks are actually extracted from the loaded MSH file. All element types that implement the MshConnectivity trait are supported. Currently those are:
Tri6d3Connectivity, Quad4d3Connectivity and Quad9d3Connectivity are currently not supported because they don't implement the ElementConnectivity trait.