[Paraview-developers] Fw: vtk grids and parallelization

Sohail Shafii sohailshafii at yahoo.com
Thu Aug 5 16:41:22 EDT 2010


Apparently I needed to register for the list before sending out this message according to someone I know...anyway, here it is.

Sohail


--- On Thu, 8/5/10, Sohail Shafii <sohailshafii at yahoo.com> wrote:

From: Sohail Shafii <sohailshafii at yahoo.com>
Subject: vtk grids and parallelization
To: paraview-developers at paraview.org
Date: Thursday, August 5, 2010, 10:27 AM

Hi,

I have been able to split a vector data set across two instances 
of my custom filter. I noticed that the data set's extent 
(or size) that each filter (on each processor) sees is split 
up from the original. This data is stored in a vtkStructuredGrid...

Normally this isn't a problem.  In my case, however, I need to 
convert from the tuple point id (which is a 1D analogue of a 
three-dimensional index) to a 3D point in the data set.  I'm 
writing an algorithm that starts from a point in the data set 
and moves in 3D space, so I need the X, Y, Z coordinates of the
 point in the data set.  Also, I need to calculate the 
interpolated value of points that lie somewhere in the grid, 
which again falls back on the need for three dimensions.

So the reason this is a problem is because each filter is
 
attempting to do this 1D -> 3D conversion and doing so requires 
the full extent of the grid (basically the size of the data).  
Since the extent is split up when the filter is parallelized, 
things screw up.  Is there a way to store the full extent of 
the original (structured grid) data set before parallelization?

Thanks, Sohail









      


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20100805/385037c3/attachment.htm>


More information about the Paraview-developers mailing list