Thanks a lot for guiding me to the correct file in the source code. I
hacked it and it works.
Thanks and Regards,
On Mon, Feb 12, 2018 at 12:24 AM, Christophe Geuzaine <cgeuza...@uliege.be>
> On 9 Feb 2018, at 03:40, Savio Poovathingal <poova...@umn.edu> wrote:
> 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.
> Savio James Poovathingal
> Postdoctoral Research Scholar
> Molecular Beam Lab
> Department of Chemistry and Biochemistry
> Montana State University
> Montana, USA 59717.
> gmsh mailing list
> Prof. Christophe Geuzaine
> University of Liege, Electrical Engineering and Computer Science
> Free software: http://gmsh.info | http://getdp.info | http://onelab.info
Savio James Poovathingal
Postdoctoral Research Scholar
Molecular Beam Lab
Department of Chemistry and Biochemistry
Montana State University
Montana, USA 59717.
gmsh mailing list