<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div></div><div><br></div><div><br></div><div>PS: a reminder of the commands I'm using:</div><div><br></div><div><div><i>MBRange elems, faces;</i></div><div><div><i>&nbsp;const MBEntityHandle* conn;</i></div><div><i>&nbsp;int num_nodes;</i></div><div><i>&nbsp;double&nbsp;coord_node_face[6*3];</i></div><div><i><br></i></div></div><div><i>&nbsp;result = gMB-&gt;load_mesh("test_mesh.msh"); EE(gMB);</i></div><div><i>&nbsp;result = gMB-&gt;get_entities_by_dimension(0, 3, elems);</i></div><div><i>&nbsp;gMB-&gt;get_adjacencies(elems,2,true,faces,MBInterface::UNION);</i></div><div><div><i><br></i></div><div><i>&nbsp;for (MBRange::iterator fit = faces.begin(); fit != faces.end(); fit++) {</i></div><div><i>&nbsp;&nbsp; &nbsp; gMB-&gt;get_connectivity(*fit,conn,num_nodes);</i></div><div><i>&nbsp;&nbsp; &nbsp;&nbsp;gMB-&gt;get_coords(conn,num_nodes,coord_node_face);</i></div><div><i>&nbsp;&nbsp; &nbsp; if (coord_node_face[1]==0.5)&nbsp;</i><b><i>[... call a function using face canonical connectivities...]</i></b></div><div><i>&nbsp;&nbsp; &nbsp; }</i></div></div><div><i><br></i></div><i>result = gMB-&gt;write_file("Vtk_file.vtk")</i></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><div>On 1 Jun 2010, at 15:13, Jason Kraftcheck wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Julien Vignollet wrote:<br><blockquote type="cite">Thank you for your answers. Yes you are right, I actually meant nodes 8 and 9 &nbsp;(starting from 0).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br>OK. &nbsp;Thanks. &nbsp;I've checked in the fix for the Gmsh reader.<br><br>- jason<br><br></div></blockquote></div><br></body></html>