[Paraview] calculator problem

Dominik Szczerba dominik at itis.ethz.ch
Tue Dec 8 11:21:15 EST 2009


Please note that 'p' is not required in the Results formula. Only those 
variables should be required that are needed to form a valid formula, 
not those that were originally present.

Dominik

Utkarsh Ayachit wrote:
> I am not sure why this is a problem? The custom filter will preserve
> your equation. So the next time you use the custom filter, it an array
> required in the calculator is missing, it should indeed complain.
> 
> Utkarsh
> 
> On Tue, Dec 8, 2009 at 10:10 AM, Dominik Szczerba <dominik at itis.ethz.ch> wrote:
>> The problem is more general.
>>
>> Create a custom filter using calculator and the data (u,v,w,p)
>> sqrt(u^2+v^2+w^2). Save a custom filter. Now re-open the data but now do not
>> read 'p' array this time (XDMF). Apply custom filter. Calculator will
>> complain p is absent.
>>
>> Dominik
>>
>> Utkarsh Ayachit wrote:
>>> Very interesting. I am adding this to the bug tracker.
>>>
>>> http://paraview.org/Bug/view.php?id=10012
>>> Thanks for reporting.
>>>
>>> Utkarsh
>>>
>>> On Tue, Dec 8, 2009 at 9:46 AM, Paul Edwards <paul.m.edwards at gmail.com>
>>> wrote:
>>>> Hi,
>>>>
>>>> I've found a bug with the calculator:
>>>>
>>>> create a box
>>>> apply calculator filter: array name "a", value "1"
>>>> apply calculator again: array name "b", value "2"
>>>>
>>>> now change the input for the second calculator to the box and you get
>>>> the following error:
>>>>
>>>> vtkArrayCalculator (0x28b3d40): Invalid array name: a
>>>>
>>>> Even though it doesn't use that array...
>>>>
>>>> Regards,
>>>> Paul
>>>> _______________________________________________
>>>> 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
>>>
>>
> 



More information about the ParaView mailing list