1) I believe the standard VTK viewer (ASCII Viewer with VTK format) gets the coordinates<br>    right. Can you verify this?<br><br>2) You should be able to split the 4- component field into 4 fields using the Split filter in VTK<br>
     or whatever viewer you use (I do this in Mayavi2, but Paraview also works).<br><br>  Matt<br><br><div class="gmail_quote">On Sun, Jul 12, 2009 at 10:34 AM, Saswata Hier-Majumder <span dir="ltr">&lt;<a href="mailto:saswata@umd.edu">saswata@umd.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
I would like to generate a vtk output from   a multicomponent problem. In the vtk file, I would like the DA coordinates as well as all 4 components stored separately as scalar point data.<br>
<br>
I have been using the  VecView_VTK routine from /ksp/ksp/ksp/examples/tutorials/ex29.c. But the vtk output seems to contain only the local coordinates (may be because DAGetCoordinates is not collective?).  Is there a way to fix this?<br>

<br>
Also, using the same routine, all components of the solution corresponding to a node are dumped together. Is there a way to extract each component separately and ouput them separately as scalar point data?<br>
<br>
Thanks<br><font color="#888888">
<br>
-- <br>
<a href="http://www.geol.umd.edu/%7Esaswata" target="_blank">www.geol.umd.edu/~saswata</a><br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>