Re: [Paraview] Parallel Python Programmable Filter Requesting Additional Ghost Data

2012-07-17 Thread Berk Geveci
self.GetExecutive().GetOutputInformation(0).Set(vtk.vtkStreamingDemandDrivenPipeline.UPDATE_NUMBER_OF_GHOST_LEVELS(), 1) in RequestUpdateExtent script. Of course, this requires that the reader or a filter before the programmable filter is able to provide ghost levels. -berk On Wed, Jul 11,

Re: [Paraview] Parallel Python Programmable Filter Requesting Additional Ghost Data

2012-07-17 Thread Jesus Pulido
Thank you Berk. I was under the impression that this command would trigger the reader to automatically load in the additional # of requested ghost levels. I tested the command and each data piece still has the same extents as before. Is there any additional way to load in ghost level that's

Re: [Paraview] Parallel Python Programmable Filter Requesting Additional Ghost Data

2012-07-17 Thread Burlen Loring
There is also ghost cell generator for image data that does not convert to multi block. It's called SQImageGhosts and resides in the SciberQuestToolKit pluign. You would need to ensure the plugin is loaded and insert this filter upstream of your python filter. In your filter's

Re: [Paraview] Parallel Python Programmable Filter Requesting Additional Ghost Data

2012-07-17 Thread Berk Geveci
Actually, I think that I noticed this too. It may be a bug specific to the programmable filter. I will check it out. By the way, what do you mean by raw vti? Appended raw mode? -berk On Tue, Jul 17, 2012 at 12:22 PM, Jesus Pulido jpul...@ucdavis.edu wrote: Thank you Berk. I was under the

Re: [Paraview] Parallel Python Programmable Filter Requesting Additional Ghost Data

2012-07-17 Thread Jesus Pulido
Yes, appended raw mode. It has an ascii header then the data itself is binary after a specified underscore delimiter. Jesus On Tue, Jul 17, 2012 at 1:17 PM, Berk Geveci berk.gev...@kitware.comwrote: Actually, I think that I noticed this too. It may be a bug specific to the programmable

Re: [Paraview] Parallel Python Programmable Filter Requesting Additional Ghost Data

2012-07-17 Thread Berk Geveci
One more question. What are you doing after reading the data? Depending on what you are doing, I might be able to give you a piece of code that uses George's filter to generate ghost levels using MPI. You will need to use ParaView built from git. Next week, George and I will start working on

Re: [Paraview] Parallel Python Programmable Filter Requesting Additional Ghost Data

2012-07-17 Thread David E DeMarle
Also remember this gem, which may help you. Note also that there is a feature in the python programmable filter that comes into play with structured data. That feature says that structured data is not split at all by default. If you want structured data to actually be parallel you need to put

Re: [Paraview] Parallel Python Programmable Filter Requesting Additional Ghost Data

2012-07-17 Thread Jesus Pulido
I am simply applying a (Python) Programmable Filter after loading in the data so the data itself does not get touched or modified before the Programmable Filter is applied. Rebuilding paraview from git won't be a problem since I've branched a few git versions in the past. If possible, any

[Paraview] Parallel Python Programmable Filter Requesting Additional Ghost Data

2012-07-11 Thread Jesus Pulido
Hello, I am trying to request ghost data in my python programmable filter but I am not sure how to go about and do so. I am assuming the call would go into the RequestUpdateExtent Script. In the C++ equivalent filters that do request ghost data, the call to is something along the lines of