<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1485205817003_7117"><span>Hello,</span></div><div id="yui_3_16_0_ym19_1_1485205817003_7152"><span><br></span></div><div id="yui_3_16_0_ym19_1_1485205817003_7181"><span id="yui_3_16_0_ym19_1_1485205817003_7180">Coding is not an option for me but thanks anyway for the answer.</span></div><div id="yui_3_16_0_ym19_1_1485205817003_7191"><span id="yui_3_16_0_ym19_1_1485205817003_7220">Having the option of the number of digits would be nice especially for regular applications where 16 digits are a bit too much...</span></div><div class="qtdSeparateBR" id="yui_3_16_0_ym19_1_1485205817003_7261"><div id="yui_3_16_0_ym19_1_1485205817003_7290"><br></div><div id="yui_3_16_0_ym19_1_1485205817003_7291">Fabrice.<br></div><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1485205817003_7186" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1485205817003_7185"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1485205817003_7184"> <div dir="ltr" id="yui_3_16_0_ym19_1_1485205817003_7183"> <font id="yui_3_16_0_ym19_1_1485205817003_7187" face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">De :</span></b> Jeremy Theler <jeremy@seamplex.com><br> <b><span style="font-weight: bold;">À :</span></b> gmsh@onelab.info <br> <b><span style="font-weight: bold;">Envoyé le :</span></b> Lundi 23 janvier 2017 9h39<br> <b><span style="font-weight: bold;">Objet :</span></b> Re: [Gmsh] Coordinate format<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1485205817003_7188"><br>Not that I am aware of. You might:<br clear="none"><br clear="none">a. edit the Gmsh source code, particularly line 74 of Geo/MVertex.cpp<br clear="none">that reads<br clear="none"><br clear="none">fprintf(fp, "%d %.16g %.16g %.16g ", _index, x() * scalingFactor,<br clear="none"><br clear="none"><br clear="none">b. edit the Calculix source code (good luck, it is Fortran!)<br clear="none"><br clear="none">c. use another more modern option, say www.seamplex.com/fino<br clear="none"><br clear="none"><br clear="none"><br clear="none">BTW, for the original developers, it would be nice to somehow being able<br clear="none">to change the hardcoded %.16g in runtime, for example to reduce the size<br clear="none">of the resulting ASCII mesh files.<br clear="none"><br clear="none">Cheers<br clear="none"><br clear="none"><br clear="none">-- <br clear="none">Jeremy Theler<br clear="none">www.seamplex.com<br clear="none"><br clear="none"><br clear="none"><div class="yqt6079378115" id="yqtfd02527"><br clear="none">On Sat, 2017-01-21 at 22:53 +0000, Fabrice Pepin wrote:<br clear="none">> Hello,<br clear="none">> <br clear="none">> <br clear="none">> The length of node coordinates can be too long for Calculix. I work<br clear="none">> around by deleting one digit on some nodes. Is it possible to add an<br clear="none">> option defining the number of digits for nodal coordinates ?<br clear="none">> Thank you.<br clear="none">> <br clear="none">> <br clear="none">> Fabrice.</div><br clear="none">> <br clear="none">> <br clear="none">> <br clear="none">> _______________________________________________<br clear="none">> gmsh mailing list<br clear="none">> <a shape="rect" ymailto="mailto:gmsh@onelab.info" href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br clear="none">> <a shape="rect" href="http://onelab.info/mailman/listinfo/gmsh" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br clear="none"><br clear="none"><br clear="none">_______________________________________________<br clear="none">gmsh mailing list<br clear="none"><a shape="rect" ymailto="mailto:gmsh@onelab.info" href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br clear="none"><a shape="rect" href="http://onelab.info/mailman/listinfo/gmsh" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><div class="yqt6079378115" id="yqtfd01097"><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>