Ferrite-FEM / FerriteGmsh.jl

MIT License
14 stars 7 forks source link

Fix performance of tocellsets #39

Closed sebastianpech closed 2 weeks ago

sebastianpech commented 2 weeks ago

I ran into an issue while loading a very large mesh. The findfirst approach in tocellsets was extremely slow. I defined a mapping Dict from gmsh to Ferrite numbering which does the same. For 5000 elements, there is already a large speedup:

image

koehlerson commented 2 weeks ago

thanks!