View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010512ParaViewBugpublic2010-04-05 19:442011-01-13 17:00
ReporterKen Moreland 
Assigned ToUtkarsh Ayachit 
PriorityurgentSeveritymajorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.8Fixed in Version3.8 
Summary0010512: Calculator misbehaves on composite data
DescriptionThe 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.
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0020078)
Utkarsh Ayachit (administrator)
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 (manager)
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 (administrator)
2010-04-06 17:31

It's been committed to 3.8 branch as well (as per Dave P.)

 Issue History
Date Modified Username Field Change
2010-04-05 19:44 Ken Moreland New Issue
2010-04-05 19:45 Ken Moreland Status backlog => tabled
2010-04-05 19:45 Ken Moreland Assigned To => Utkarsh Ayachit
2010-04-06 10:34 Utkarsh Ayachit Note Added: 0020078
2010-04-06 10:34 Utkarsh Ayachit Status tabled => @80@
2010-04-06 10:34 Utkarsh Ayachit Fixed in Version => 3.8
2010-04-06 10:34 Utkarsh Ayachit Resolution open => fixed
2010-04-06 10:55 Ken Moreland Note Added: 0020079
2010-04-06 17:31 Utkarsh Ayachit Note Added: 0020083
2010-04-06 17:49 Ken Moreland Status @80@ => closed
2011-01-13 17:00 Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00 Source_changeset_attached => VTK master 020ef709


Copyright © 2000 - 2018 MantisBT Team