<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt">Thanks.&nbsp; I'll look into it and let you know if I have any questions.<br><br>Sohail<br><div><span><br></span></div><div><br></div>  <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> George Zagaris &lt;george.zagaris@kitware.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Sohail Shafii &lt;sohailshafii@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> David Thompson &lt;david.thompson@kitware.com&gt;; "paraview@paraview.org" &lt;paraview@paraview.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, August 20, 2012 7:36 PM<br> <b><span style="font-weight:
 bold;">Subject:</span></b> Re: [Paraview] Numpy masking (via programm filter) not quite working in parallel<br> </font> </div> <br>
Hello,<br><br>I have done some work in VTK towards that. Currently, this works only<br>with structured data.<br><br>If your data is structured, you can use vtkPStructuredGridConnectivity<br>to generate a bitmask (an unsigned char associated with each mesh<br>node). The bitmask can then be queried using the vtkGhostArray (See<br>http://www.vtk.org/doc/nightly/html/classvtkGhostArray.html) to see<br>which properties are "turned on" for the given mesh node. If the<br>IGNORE property is ON, that means that the node is a duplicate with<br>respect to the given process and should not be taken into account. The<br>implementation assigns ownership to the lowest rank of a mesh node --<br>on all other processes, the IGNORE property is set to ON.<br><br>TestPStructuredGridConnectivity illustrates how this can be used. The<br>test ensures that:<br>(1) Ensuring that the total number of nodes computed is invariant to<br>the number of processes/partitions<br>(2)
 Ensuring that computing the average for a given field is also<br>invariant to the numer of processes/partitions<br><br>If this could be useful in your work, I can elaborate more if you have<br>any questions on how to use it.<br><br>Best,<br>George<br><br><br>On Fri, Aug 17, 2012 at 6:18 PM, Sohail Shafii &lt;<a ymailto="mailto:sohailshafii@yahoo.com" href="mailto:sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>&gt; wrote:<br>&gt; Very well. I think that should be fine for now.<br>&gt;<br>&gt; Sohail<br>&gt;<br>&gt; ________________________________<br>&gt; From: David Thompson &lt;<a ymailto="mailto:david.thompson@kitware.com" href="mailto:david.thompson@kitware.com">david.thompson@kitware.com</a>&gt;<br>&gt; To: Sohail Shafii &lt;<a ymailto="mailto:sohailshafii@yahoo.com" href="mailto:sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>&gt;<br>&gt; Cc: David Thompson &lt;<a ymailto="mailto:david.thompson@kitware.com"
 href="mailto:david.thompson@kitware.com">david.thompson@kitware.com</a>&gt;; "<a ymailto="mailto:paraview@paraview.org" href="mailto:paraview@paraview.org">paraview@paraview.org</a>"<br>&gt; &lt;<a ymailto="mailto:paraview@paraview.org" href="mailto:paraview@paraview.org">paraview@paraview.org</a>&gt;<br>&gt; Sent: Friday, August 17, 2012 4:15 PM<br>&gt;<br>&gt; Subject: Re: [Paraview] Numpy masking (via programm filter) not quite<br>&gt; working in parallel<br>&gt;<br>&gt; Hi Sohail,<br>&gt;<br>&gt;&gt; ... Will this point sharing information become available in later versions<br>&gt;&gt; of ParaView? i.e. would it ever be easy to identify and count duplicates?<br>&gt;<br>&gt; I don't know of any plans to implement this (but that doesn't mean there<br>&gt; aren't).<br>&gt;<br>&gt;&nbsp; &nbsp;  David<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Powered by <a target="_blank"
 href="http://www.kitware.com/">www.kitware.com</a><br>&gt;<br>&gt; Visit other Kitware open-source projects at<br>&gt; http://www.kitware.com/opensource/opensource.html<br>&gt;<br>&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>&gt; http://paraview.org/Wiki/ParaView<br>&gt;<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; http://www.paraview.org/mailman/listinfo/paraview<br>&gt;<br><br><br> </div> </div>  </div></body></html>