[Gmsh] stl with double precision
Christophe Geuzaine
cgeuzaine at uliege.be
Mon Feb 12 08:24:33 CET 2018
> On 9 Feb 2018, at 03:40, Savio Poovathingal <poova002 at umn.edu> wrote:
>
> Hello,
>
> I am using gmsh to generate a 2d grid on a surface and output in stl format with double precision.
You’ll need to hack the code (GmshIO_STL.cpp), as the STL spec specifies single precision. See e.g. https://en.wikipedia.org/wiki/STL_(file_format)
> I cannot find a way to do this. I am sure it's a simple hack but I have not been able to figure it out. I need double precision because the solver I use needs triangle info with double precision. Unfortunately, with single precision, flow is "leaking" into the surface because it is not watertight.
>
> Any help is appreciated.
>
> Thanks,
> Savio
>
> --
> Savio James Poovathingal
> Postdoctoral Research Scholar
> Molecular Beam Lab
> Department of Chemistry and Biochemistry
> Montana State University
> Bozeman
> Montana, USA 59717.
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
—
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
Free software: http://gmsh.info | http://getdp.info | http://onelab.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180212/9767ba22/attachment.html>
More information about the gmsh
mailing list