<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> const MBEntityHandle* conn;</i></div><div><i> int num_nodes;</i></div><div><i> double coord_node_face[6*3];</i></div><div><i><br></i></div></div><div><i> result = gMB->load_mesh("test_mesh.msh"); EE(gMB);</i></div><div><i> result = gMB->get_entities_by_dimension(0, 3, elems);</i></div><div><i> gMB->get_adjacencies(elems,2,true,faces,MBInterface::UNION);</i></div><div><div><i><br></i></div><div><i> for (MBRange::iterator fit = faces.begin(); fit != faces.end(); fit++) {</i></div><div><i> gMB->get_connectivity(*fit,conn,num_nodes);</i></div><div><i> gMB->get_coords(conn,num_nodes,coord_node_face);</i></div><div><i> if (coord_node_face[1]==0.5) </i><b><i>[... call a function using face canonical connectivities...]</i></b></div><div><i> }</i></div></div><div><i><br></i></div><i>result = gMB->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 (starting from 0).<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br>OK. Thanks. I've checked in the fix for the Gmsh reader.<br><br>- jason<br><br></div></blockquote></div><br></body></html>