[Paraview] Parallel Python Programmable Filter Requesting Additional Ghost Data

Jesus Pulido jpulido at ucdavis.edu
Tue Jul 17 15:34:34 EDT 2012


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.geveci at kitware.com>wrote:

> 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 <jpulido at ucdavis.edu>wrote:
>
>> 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 parallel
>> friendly? I am aware of the D3 filter but, from the memory usage, it seems
>> that it will load in the entire dataset into each processor and this is not
>> feasible for large datasets.
>>
>> I am using binary, "raw" vti piece files each with their own extent of
>> the data and a header pvti file.
>> The data has no encoded ghost layers between pieces so I was hoping to
>> have paraview do that for me.
>>
>> Jesus
>>
>>
>> On Tue, Jul 17, 2012 at 7:29 AM, Berk Geveci <berk.geveci at kitware.com>wrote:
>>
>>> 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, 2012 at 3:04 PM, Jesus Pulido <jpulido at ucdavis.edu>wrote:
>>>
>>>>  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
>>>> vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS() , and
>>>> there are examples of that in the Paraview source but the way the objects
>>>> are defined and called does not translate into Paraview VTK Python. What
>>>> would be the appropriate call?
>>>>
>>>> Thank you,
>>>> Jesus
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120717/7dc2fb73/attachment.htm>


More information about the ParaView mailing list