MantisBT - ParaView
View Issue Details
0010512ParaViewBugpublic2010-04-05 19:442011-01-13 17:00
Ken Moreland 
Utkarsh Ayachit 
urgentmajorhave not tried
closedfixed 
 
3.83.8 
0010512: Calculator misbehaves on composite data
The calculator is misbehaving on composite data. Given a composite data set with a vector field that exists in multiple blocks, the calculator does not operate correctly on the field in all blocks. Instead, it provides the calculation in the first block only and then outputs a cryptic message about outdated variables for every other block.

To replicate the error, do the following:

1. Create a Hierarchical Fractal source. Apply.
2. Add a calculator filter. Set the expression to pass any one of the vector field variables (cell data VectorXYZ or point data coords). Apply.

You will get a bunch of error messages, and the Result array will be partial and only defined on level 1.
No tags attached.
Issue History
2010-04-05 19:44Ken MorelandNew Issue
2010-04-05 19:45Ken MorelandStatusbacklog => tabled
2010-04-05 19:45Ken MorelandAssigned To => Utkarsh Ayachit
2010-04-06 10:34Utkarsh AyachitNote Added: 0020078
2010-04-06 10:34Utkarsh AyachitStatustabled => @80@
2010-04-06 10:34Utkarsh AyachitFixed in Version => 3.8
2010-04-06 10:34Utkarsh AyachitResolutionopen => fixed
2010-04-06 10:55Ken MorelandNote Added: 0020079
2010-04-06 17:31Utkarsh AyachitNote Added: 0020083
2010-04-06 17:49Ken MorelandStatus@80@ => closed
2011-01-13 17:00Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00Source_changeset_attached => VTK master 020ef709

Notes
(0020078)
Utkarsh Ayachit   
2010-04-06 10:34   
Not sure what the weird logic was supposed to do. All we
really needed was to re-populate the variables for the calculator in
RequestData().

/cvsroot/ParaView3/ParaView3/VTK/Common/vtkFunctionParser.cxx,v <-- VTK/Common/vtkFunctionParser.cxx
new revision: 1.46; previous revision: 1.45
/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkArrayCalculator.cxx,v <-- VTK/Graphics/vtkArrayCalculator.cxx
new revision: 1.51; previous revision: 1.50
/cvsroot/ParaView3/ParaView3/VTK/Graphics/vtkArrayCalculator.h,v <-- VTK/Graphics/vtkArrayCalculator.h
new revision: 1.23; previous revision: 1.22
/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPVArrayCalculator.cxx,v <-- Servers/Filters/vtkPVArrayCalculator.cxx
new revision: 1.4; previous revision: 1.3
/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPVArrayCalculator.h,v <-- Servers/Filters/vtkPVArrayCalculator.h
new revision: 1.2; previous revision: 1.1
(0020079)
Ken Moreland   
2010-04-06 10:55   
Looks like the problem is fixed. Please make sure to push this fix to the 3.8 branch.
(0020083)
Utkarsh Ayachit   
2010-04-06 17:31   
It's been committed to 3.8 branch as well (as per Dave P.)