conservation-laws / ryujin

High-performance high-order finite element solver for hyperbolic conservation equations
https://conservation-laws.org
Other
103 stars 25 forks source link

Geometry: add a Geometry reader for various supported mesh files #131

Closed tamiko closed 2 months ago

tamiko commented 2 months ago

Extracted from #130

ejtovar commented 2 months ago

@tamiko @gregorychristian Is it possible to generalize this GMSH reader to include UCD meshes as well? That is, depending on the type of mesh that gets inputted, the reader decides if it is GMSH vs UCD? See: https://www.dealii.org/current/doxygen/deal.II/classGridIn.html#abbb16aa0aa53bfa9231b69278d397616

tamiko commented 2 months ago

@ejtovar Excellent point. I went ahead and refactored the class to be called Reader and switched to GreadIn::read() that supports various different mesh formats.