<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br class=""><blockquote type="cite" class="">On 24 Sep 2015, at 15:52, Torquil Macdonald Sørensen <<a href="mailto:torquil@gmail.com" class="">torquil@gmail.com</a>> wrote:<br class=""><br class="">Hi!<br class=""><br class="">I have a MSH file for a mesh of one quadrangle and four associated<br class="">scalar field node values. Looking at the GMSH visualization, it uses two<br class="">triangles to define the function shape inside the quadrangle, and it<br class="">seems to use P1 shape functions within each triangle.<br class=""><br class="">Is it possible to have GMSH not use any triangles for the visualization,<br class="">but instead assume that the scalar field should be represented with Q1<br class="">shape functions inside the quadrangle?<br class=""><br class=""></blockquote><div class=""><br class=""></div><div class="">Yes: select "Adapt visualization grid" in the options of the view. (Set the target error to a negative number to force subdivisions all the way to the maximum recursion level.)</div><div class=""><img apple-inline="yes" id="AB4EECC7-1923-4AAE-BDB8-82F9D07E0310" height="871" width="892" apple-width="yes" apple-height="yes" src="cid:CDFBA1A3-387C-4E32-9028-08A80ABFBAF2@home" class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><blockquote type="cite" class="">Here is the MSH file, and the screenshot is attached:<br class=""><br class="">$MeshFormat<br class="">2.2 0 8<br class="">$EndMeshFormat<br class="">$Nodes<br class="">4<br class="">1 0.0 0.0 0.0<br class="">2 1.0 0.0 0.0<br class="">3 1.0 1.0 0.0<br class="">4 0.0 1.0 0.0<br class="">$EndNodes<br class="">$Elements<br class="">1<br class="">1 3 2 99 2 1 2 3 4<br class="">$EndElements<br class="">$NodeData<br class="">1<br class="">"A scalar view"<br class="">1<br class="">0.0<br class="">3<br class="">0<br class="">1<br class="">4<br class="">1 0.0<br class="">2 1.0<br class="">3 0.0<br class="">4 0.0<br class="">$EndNodeData<br class=""><br class="">Best regards and thanks,<br class="">Torquil Sørensen<br class=""><span id="cid:F335BFC8-99A1-48F4-96E5-8EF17767CF74@home"><quadrangle.png></span>_______________________________________________<br class="">gmsh mailing list<br class=""><a href="mailto:gmsh@geuz.org" class="">gmsh@geuz.org</a><br class="">http://www.geuz.org/mailman/listinfo/gmsh<br class=""></blockquote><br class=""></body></html>