<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><br class=""></div>HI Tomasz,<div class=""><br class=""></div><div class="">I'm not sure that we have actually tested it, but looking back at our MED reader we should handle the case. Don't hesitate to send your tentative MED files with point elements in them - we'll have a look.</div><div class=""><br class=""></div><div class=""><div>Ch.</div><div><br class=""><blockquote type="cite" class=""><div class="">On 17 May 2018, at 21:32, Tomasz Koziara <<a href="mailto:t.koziara@gmail.com" class="">t.koziara@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Ha, ha:) I tried that, but failed, for the time being:) I only have the examples distributed with MED library to provide inspiration; That was the code:<div class=""><br class=""></div><div class="">
<span class=""></span><div style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(83, 48, 225);" class=""><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">std::vector<med_int> conn;</span></div><div style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(83, 48, 225);" class=""><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">for (i = 0; i < num; i ++)</span></div><div style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(83, 48, 225);" class=""><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">{</span></div><div style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(83, 48, 225);" class=""><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> conn.push_back(i);</span></div><div style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(83, 48, 225);" class=""><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">}</span></div><div style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;" class=""><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br class=""></div><div style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(83, 48, 225);" class=""><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">ASSERT (MEDmeshElementConnectivityWr(fid, meshName, MED_NO_DT, MED_NO_IT, 0., MED_CELL, MED_POINT1,</span></div><div style="margin: 0px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-variant-east-asian: normal; font-variant-position: normal; font-weight: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; color: rgb(83, 48, 225);" class=""><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"> MED_NODAL, MED_FULL_INTERLACE, conn.size(), &conn[0]) >= 0, "Could not write MED elements");</span></div>
<div class=""><br class=""></div>which is just a minor modification of the standard output for volumetric elements; do feel free to advice on a more suitable way of doing that:) Thank You; Tomek</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 17 May 2018 at 21:09, Christophe Geuzaine <span dir="ltr" class=""><<a href="mailto:geuzaine@gmail.com" target="_blank" class="">geuzaine@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><br class=""></div>Gmsh displays all meshes and post-processing data based on elements: so indeed you will need to add "point elements" (1 point for each vertex) in the med file in order to visualize it.<span class="HOEnZb"><font color="#888888" class=""><div class=""><br class=""></div></font></span><div class=""><span class="HOEnZb"><font color="#888888" class="">Christophe</font></span><div class=""><div class="h5"><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 17 May 2018, at 14:56, Tomasz Koziara <<a href="mailto:t.koziara@gmail.com" target="_blank" class="">t.koziara@gmail.com</a>> wrote:</div><br class="m_7059130589614002266Apple-interchange-newline"><div class=""><div dir="ltr" class="">Dear Christophe,<div class=""><br class=""></div><div class="">Here: <a href="https://www.dropbox.com/s/ve8rm3qjyvew1uq/spring_system0rb.med.gz?dl=0" target="_blank" class="">https://www.dropbox.com/<wbr class="">s/ve8rm3qjyvew1uq/spring_syste<wbr class="">m0rb.med.gz?dl=0</a></div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">Tomek</div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 17 May 2018 at 08:50, Christophe Geuzaine <span dir="ltr" class=""><<a href="mailto:geuzaine@gmail.com" target="_blank" class="">geuzaine@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class=""><div class=""><br class=""></div>Can you send a (small) example file?<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class=""><div class="m_7059130589614002266h5"><div class="">On 14 May 2018, at 13:08, Tomasz Koziara <<a href="mailto:t.koziara@gmail.com" target="_blank" class="">t.koziara@gmail.com</a>> wrote:</div><br class="m_7059130589614002266m_5526381163127838437Apple-interchange-newline"></div></div><div class=""><div class=""><div class="m_7059130589614002266h5"><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">Continuing development of MED export in <a href="http://parmes.org/parmec/" target="_blank" class="">parmec</a> I keep using Gmsh to test it. This time I am exporting nodes with time dependent scalar and vector fields attached to them. There are no elements or connectivity declared in the mesh. After import Gmsh shows all the views (per field) but I am not able to visualise anything. I would appreciate a helpful hint or comment:)</div><div class=""><br class=""></div><div class="">Thank you,</div><div class="">Tomek</div></div></div></div>
______________________________<wbr class="">_________________<br class="">gmsh mailing list<br class=""><a href="mailto:gmsh@onelab.info" target="_blank" class="">gmsh@onelab.info</a><br class=""><a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank" class="">http://onelab.info/mailman/lis<wbr class="">tinfo/gmsh</a><br class=""></div></blockquote></div><br class=""></div></blockquote></div><br class=""></div>
______________________________<wbr class="">_________________<br class="">gmsh mailing list<br class=""><a href="mailto:gmsh@onelab.info" target="_blank" class="">gmsh@onelab.info</a><br class=""><a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank" class="">http://onelab.info/mailman/<wbr class="">listinfo/gmsh</a><br class=""></div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>