<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">>Maybe you should give a look at these classes from vtk :<br>><br>
<a rel="nofollow" target="_blank" href="http://public.kitware.com/VTK/doc/nightly/html/classvtkStructuredGridWriter.html">
>vtkStructuredGridWriter</a> and
<a rel="nofollow" target="_blank" href="http://public.kitware.com/VTK/doc/nightly/html/classvtkStructuredGridWriter.html">
vtkUnstructuredGridWriter</a>
(<a rel="nofollow" target="_blank" href="http://public.kitware.com/VTK/doc/nightly/html/classvtkUnstructuredGridWriter.html">
>http://public.kitware.com/VTK/doc/nightly/html/classvtkUnstructuredGridWriter.html</a>
).<br>
<br>
Thanks. I should have thought of using the VTK source to look for code which writes the '.vtk' format.<br>
<br>
I'll try to adapt those classes for use with Gmsh and send the Gmsh
developers an email when I succeed, so that the solution may be
integrated into Gmsh.<br><br>
Best,<br>
Ernest<br>
</div></div></div><br>



      <hr size=1>Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>