Skip to content

Conversation

@JonasHoelscher
Copy link
Member

Adds a custom mesh parser for gmsh ASCII files of version 2.
The new mesh handling is as follows: If the given mesh if version 2, the new custom mesh parser is used.
Otherwise the gmsh python interface will be used to parse the mesh.

Additionally some changes are made to low level simulation functions: they now work with both 1 or 2 dimensions which makes the implementation of line integrals more general. Now such integrals can be done along arbitrary lines and they don't have to be aligned along the r direction anymore.

The new meshing objects are reorganized in a mesh folder.

The new custom mesh parser has been tested by using the gmsh python interface and version 4 meshes.

Also the test data is updated since there is a bug in the gmsh Python API where the node coordinates are not the same after opening the mesh file.

@JonasHoelscher JonasHoelscher merged commit f8d8615 into main Jul 2, 2025
1 check passed
@JonasHoelscher JonasHoelscher deleted the mesh_parser branch July 3, 2025 07:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants