> On 9 Feb 2018, at 03:40, Savio Poovathingal <poova...@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@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
_______________________________________________ gmsh mailing list gmsh@onelab.info http://onelab.info/mailman/listinfo/gmsh