<div dir="ltr">Hi David,<div><br></div><div>Thanks for pointing that out to me.</div><div><br></div><div>If I see correctly, onelab isn't installable via pip or apt. As such, I won't be able to use it unless I prepare myself for a ton of support on how to install onelab. Too bad the functionality isn't part of Gmsh itself.</div><div><br></div><div>Anyhow, I might look into bundling onelab for Debian in the future.</div><div><br></div><div>Cheers,</div><div>Nico</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 19, 2016 at 3:22 PM David Colignon <<a href="mailto:david.colignon@ulg.ac.be">david.colignon@ulg.ac.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Nico,<br>
<br>
Have you heard about ONELAB and the onelab.py module ?<br>
<br>
<a href="http://onelab.info/wiki/ONELAB" rel="noreferrer" target="_blank">http://onelab.info/wiki/ONELAB</a><br>
<br>
<a href="http://onelab.info/wiki/Python" rel="noreferrer" target="_blank">http://onelab.info/wiki/Python</a><br>
<br>
Regards,<br>
<br>
Dave<br>
<br>
--<br>
David Colignon, Ph.D.<br>
1er Logisticien de Recherche<br>
Université de Liège<br>
ACE - Applied & Computational Electromagnetics<br>
Quartier POLYTECH 1 - Montefiore B28<br>
Allée de la découverte 10<br>
4000 Liège - BELGIQUE<br>
Tél: +32 (0)4 366 37 32<br>
<a href="http://www.ulg.ac.be/nic4" rel="noreferrer" target="_blank">http://www.ulg.ac.be/nic4</a><br>
<br>
<br>
On 19/07/16 15:09, Nico Schlömer wrote:<br>
<br>
> Hi everyone,<br>
><br>
> As the author of pygmsh [1] I sometimes get user complaints about how slow mesh generation is. The way pygmsh works is that it<br>
> generates a geo-file in memory, writes that out, has gmsh run over it to generate a msh-file, then read in and parse that file<br>
> to generate the nodes and cells in memory. I'm wondering if this could be improved.<br>
><br>
> What comes to mind straight away is passing the geo-file as a string to gmsh, and to retrieve the msh-file as a string from<br>
> gmsh. This way, the slow I/O on the hard drive is avoided. Is that at all possible with gmsh?<br>
><br>
> Even better would be to retrieve the mesh data directly from gmsh, but I guess for this it'd need tighter integration with<br>
> Python which just isn't there.<br>
><br>
> Cheers,<br>
> Nico<br>
><br>
><br>
> [1] <a href="https://github.com/nschloe/pygmsh" rel="noreferrer" target="_blank">https://github.com/nschloe/pygmsh</a><br>
><br>
><br>
> _______________________________________________<br>
> gmsh mailing list<br>
> <a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br>
> <a href="http://onelab.info/mailman/listinfo/gmsh" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
><br>
<br>
</blockquote></div>