[Gmsh] significant digits

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Oct 30 17:55:29 CET 2007

Guido Blöcher wrote:
> hi gmsh users and developer,
> i got an geological model in km-scale including a well in cm-scale.
> i want to mesh this probleme, but the coordinates of the nodes have only 
> six significant digits.

Hi Guido - All the digits are actually correctly read: it's only the 
display in the GUI window that truncates to 6 digits.

To test it, just load your file and re-save it (as a .geo file) or mesh 
it (and save it as a .msh file): you'll see that no precision is lost in 
the process.


> for example:
> the geo file contains:
> Point(1)={405896.936541,5862239.109745,-3813.57226245,0.037306226245};
> Point(2)={405896.935972,5862239.122684,-3813.57106584,0.037306106584};
> Point(3)={405896.933154,5862239.135327,-3813.56990527,0.037306990527};
> but gmsh only use:
> 405896,5.86223e+06,...etc.
> is there a possibilty to increase the accuracy of the readed node data?
> the setting geometry->general->geometry tolerance does not work!
> best regards guido
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science