[Paraview] Problem with Pixie files: build 3.14.1 and 3.98.0

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Sun Nov 11 18:13:22 EST 2012


Claudio,

Do you have any sample dataset that I can use to test this/the fix?

Thanks,
Utkarsh


On Sun, Nov 11, 2012 at 4:07 PM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:

> Claudio,
>
> I'll take a look at get back.
>
> Utkarsh
>
>
> On Fri, Nov 9, 2012 at 9:54 AM, Claudio Zanni <zanni at oato.inaf.it> wrote:
>
>> I already had this problem with Paraview 3.14.1 but I received no answer
>> to a first email,
>> so I tried to investigate on my own since the problem is still present in
>> release 3.98.0.
>>
>> Paraview can not open a Pixie file (it's a HDF5 format included through
>> the VisIt Database
>> Bridge) when the file includes one timestep only: Paraview just hangs
>> indefinitely.
>> Everything works fine when multiple timesteps are contained in the file.
>>
>> I suspect that the problem is connected to lines 618-634 in
>> Utilities/VisItBridge/**AvtAlgorithms/**vtkAvtFileFormatAlgorithm.cxx:
>>
>>    //in some case the times and cycles have all zero values.
>>>   //This is caused by a file reader that generates the time value
>>>   //once the reader moves to that timestep.
>>>   //That kind of behaviour is not possible currently in ParaView. Instead
>>>   //we will force the reader to generate the time values for each
>>> timestep
>>>   //by cycling through everytime step but not requesting any data.
>>>   if(hasTime && timesteps[0] == timesteps[timesteps.size()-1])
>>>     {
>>>     //we have hit a timestep range that needs to be cycled
>>>     for(int i=0; i < timesteps.size();++i)
>>>       {
>>>       this->ActivateTimestep(i);
>>>       //Nek and other readers don't update the time info intill you
>>>       //call gettimes.
>>>       this->AvtFile->FormatGetTimes(**timesteps);
>>>       }
>>>     }
>>>
>> The condition is true not only when the same value (0?) has been assigned
>> to all
>> the timesteps but also when there is one timestep only (timesteps.size()
>> = 1).
>> Besides these lines were not present in Paraview 3.10/3.12 and these
>> releases
>> were able to open Pixie files containing one timestep only.
>>
>> Is it possible to fix this problem? That would be highly appreciated.
>> Regards,
>> Claudio
>>
>> --
>> Claudio Zanni
>> INAF - Osservatorio Astronomico di Torino
>> Via Osservatorio 20
>> 10025 Pino Torinese (TO), Italy
>> tel. +39 011 8101907
>> fax  +39 011 8101930
>>
>> ______________________________**_________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at http://www.kitware.com/**
>> opensource/opensource.html<http://www.kitware.com/opensource/opensource.html>
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/**ParaView <http://paraview.org/Wiki/ParaView>
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/**mailman/listinfo/paraview<http://www.paraview.org/mailman/listinfo/paraview>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121111/fcff0c89/attachment.htm>


More information about the ParaView mailing list