simbilod / meshwell

GMSH wrapper, with integrated photonics focus
https://simbilod.github.io/meshwell/
GNU General Public License v3.0
20 stars 2 forks source link

Set number of threads to use for gmsh in `Model` #9

Closed nikosavola closed 1 year ago

nikosavola commented 1 year ago

Makes gmsh run in parallel with all cores by default and exposes a n_threads argument for instantiating a model

Closes #7

simbilod commented 1 year ago

Awesome, thank you Niko! Do the gmsh pip or conda install come with OpenMP?

nikosavola commented 1 year ago

Awesome, thank you Niko! Do the gmsh pip or conda install come with OpenMP?

I actually don't know but I've never had problems with the parallelisation