<div dir="ltr">dear all,<div>             are the point id and point index of the surface same thing ?</div><div><br></div><div><br></div><div>Looking forward your reply soon.</div><div><br></div><div>Best</div><div>rahul </div>
<div><br></div><div><br></div><div><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 31, 2013 at 6:00 PM,  <span dir="ltr">&lt;<a href="mailto:vtkusers-request@vtk.org" target="_blank">vtkusers-request@vtk.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send vtkusers mailing list submissions to<br>
        <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:vtkusers-request@vtk.org">vtkusers-request@vtk.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:vtkusers-owner@vtk.org">vtkusers-owner@vtk.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of vtkusers digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: vts periodic boundaries (Andy Bauer)<br>
   2. Re: vts periodic boundaries (Patrick Bechlars)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 31 Jul 2013 10:11:50 -0400<br>
From: Andy Bauer &lt;<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>&gt;<br>
Subject: Re: [vtkusers] vts periodic boundaries<br>
To: Patrick Bechlars &lt;<a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a>&gt;<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID:<br>
        &lt;CAMaOp+FXnktfuFLobrokiXa_4QZA6xo=<a href="mailto:cCYos0NF%2BAm_jp%2BaRg@mail.gmail.com">cCYos0NF+Am_jp+aRg@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Hi Patrick,<br>
<br>
You can make a vtkStructuredGrid act like it is periodic by making the<br>
first and last set of points be coincident. It looks like you need one more<br>
level of cells as well as one more level of points. The thing is that<br>
depending on the filter, you may not get the behavior you want. For<br>
example, if you extract the boundary of the grid it will show a boundary<br>
where the first and last set of cells meet. Also, the computed gradient<br>
will not be continuous there either.<br>
<br>
The only wa to get around that is to either use a vtkPolyData if it&#39;s 2D or<br>
a vtkUnstructuredGrid.<br>
<br>
Regards,<br>
Andy<br>
<br>
On Wed, Jul 31, 2013 at 6:10 AM, Patrick Bechlars &lt;<br>
<a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a>&gt; wrote:<br>
<br>
&gt; Dear all,<br>
&gt;<br>
&gt; I am trying to write out a cylindrical data set as a vtk file in<br>
&gt; StructuredGrid form to read it in Paraview. I would like to write the vtk<br>
&gt; file in a way that the first and last cell (see gap in the picture) are<br>
&gt; connected. Does any of you have experience in that and/or have a hint how<br>
&gt; to achieve that.<br>
&gt;<br>
&gt; One idea was to write it in parallel format as two pieces and add ghost<br>
&gt; cells, but this would be quite dirty and is not exactly what I want.<br>
&gt;<br>
&gt; Any idea is welcome!<br>
&gt;<br>
&gt; Thanks a lot<br>
&gt; Patrick<br>
&gt;<br>
&gt; --<br>
&gt; Patrick Bechlars<br>
&gt; Aerodynamics and Flight Mechanics Group<br>
&gt; Faculty of Engineering and the Environment<br>
&gt; University of Southampton<br>
&gt; Building 13, 2071<br>
&gt; Highfield<br>
&gt; Southampton<br>
&gt; SO17 1BJ<br>
&gt; email: <a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130731/4c70fe3c/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130731/4c70fe3c/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 31 Jul 2013 16:16:56 +0100<br>
From: Patrick Bechlars &lt;<a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a>&gt;<br>
Subject: Re: [vtkusers] vts periodic boundaries<br>
To: Andy Bauer &lt;<a href="mailto:andy.bauer@kitware.com">andy.bauer@kitware.com</a>&gt;<br>
Cc: <a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
Message-ID: &lt;<a href="mailto:51F92A68.1020108@soton.ac.uk">51F92A68.1020108@soton.ac.uk</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;; Format=&quot;flowed&quot;<br>
<br>
Hi Andy,<br>
<br>
The derivatives and other filters involving spatial data are not too<br>
important as I do all calculations externally. It is mainly about the<br>
plotting. If I want to stick to StructuredGrid, then there will always<br>
be this additional boundary. Is that what you are saying?<br>
Is there nothing like a GhostLevel=&quot;#&quot; option for specific boundaries in<br>
the Serial XML File Format or a filter that does that work afterwards?<br>
<br>
Best regards,<br>
Patrick<br>
<br>
On 31/07/13 15:11, Andy Bauer wrote:<br>
&gt; Hi Patrick,<br>
&gt;<br>
&gt; You can make a vtkStructuredGrid act like it is periodic by making the<br>
&gt; first and last set of points be coincident. It looks like you need one<br>
&gt; more level of cells as well as one more level of points. The thing is<br>
&gt; that depending on the filter, you may not get the behavior you want.<br>
&gt; For example, if you extract the boundary of the grid it will show a<br>
&gt; boundary where the first and last set of cells meet. Also, the<br>
&gt; computed gradient will not be continuous there either.<br>
&gt;<br>
&gt; The only wa to get around that is to either use a vtkPolyData if it&#39;s<br>
&gt; 2D or a vtkUnstructuredGrid.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Andy<br>
&gt;<br>
&gt; On Wed, Jul 31, 2013 at 6:10 AM, Patrick Bechlars<br>
&gt; &lt;<a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a> &lt;mailto:<a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a>&gt;&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;     Dear all,<br>
&gt;<br>
&gt;     I am trying to write out a cylindrical data set as a vtk file in<br>
&gt;     StructuredGrid form to read it in Paraview. I would like to write<br>
&gt;     the vtk file in a way that the first and last cell (see gap in the<br>
&gt;     picture) are connected. Does any of you have experience in that<br>
&gt;     and/or have a hint how to achieve that.<br>
&gt;<br>
&gt;     One idea was to write it in parallel format as two pieces and add<br>
&gt;     ghost cells, but this would be quite dirty and is not exactly what<br>
&gt;     I want.<br>
&gt;<br>
&gt;     Any idea is welcome!<br>
&gt;<br>
&gt;     Thanks a lot<br>
&gt;     Patrick<br>
&gt;<br>
&gt;     --<br>
&gt;     Patrick Bechlars<br>
&gt;     Aerodynamics and Flight Mechanics Group<br>
&gt;     Faculty of Engineering and the Environment<br>
&gt;     University of Southampton<br>
&gt;     Building 13, 2071<br>
&gt;     Highfield<br>
&gt;     Southampton<br>
&gt;     SO17 1BJ<br>
&gt;     email: <a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a><br>
&gt;     &lt;mailto:<a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a> &lt;<a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a>&gt;<br>
&gt;<br>
&gt;     Visit other Kitware open-source projects at<br>
&gt;     <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt;     Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;     <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt;     Follow this link to subscribe/unsubscribe:<br>
&gt;     <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
--<br>
Patrick Bechlars<br>
Aerodynamics and Flight Mechanics Group<br>
Faculty of Engineering and the Environment<br>
University of Southampton<br>
Building 13, 2071<br>
Highfield<br>
Southampton<br>
SO17 1BJ<br>
email: <a href="mailto:patrick.bechlars@soton.ac.uk">patrick.bechlars@soton.ac.uk</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20130731/a67b6556/attachment-0001.htm" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20130731/a67b6556/attachment-0001.htm</a>&gt;<br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
vtkusers mailing list<br>
<a href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</a><br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
End of vtkusers Digest, Vol 111, Issue 48<br>
*****************************************<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(0,0,255)"><b>Best  Regards<br>Rahul Indoria<br>Mobile No: +49-157-35652212</b></span><br></div>
</div></div></div>