[Gmsh] Precision of mesh points saved in ASCII msh file

Mikhail Artemyev artemiev.mikhail at gmail.com
Tue Sep 23 17:46:44 CEST 2014


Dear all,

How can I set the precision of points coordinates when I save a mesh in 
the ASCII .msh format?
For example, if my mesh is

$Nodes
5
1 0 0.333333 0
2 1 0.333333 0
3 1 1 0
4 0 1 0
5 0.5 0.6666664999999999 0
$EndNodes

how can I save all the coordinates with the same number of digits, and 
maybe in scientific notation?

Thanks,
Mikhail