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