MantisBT - ParaView
View Issue Details
0007396ParaView(No Category)public2008-07-23 12:512010-05-17 21:39
Ken Moreland 
Robert Maynard 
normalminorhave not tried
closedfixed 
 
3.8 
0007396: Calculator filter: bad variable matching between scalars and vectors
The parser in the calculator filter has a bug where it seems to match scalar variable names even when there is a better match in the vectors. To replicate, do the following:

1. Open disk_out_ref. Load all variables.
2. Add the Gradient (Unstructured) filter. Make the output array named PressureGradients.
3. Add the Calculator filter. Make the expression simply be PressureGradients (pass through the PressureGradients data).

When you apply the calculator filter, you get a rather cryptic error: "Syntax error: operator expected; see position 4". After some head scratching, I realized that the parser is matching the first 4 characters, "Pres", to the scalar of that name instead of appropriately matching to the PressureGradients vector.
No tags attached.
Issue History
2008-07-23 12:51Ken MorelandNew Issue
2009-02-18 09:10Utkarsh AyachitCategoryDevelopment => Pending
2009-02-20 11:20Ken MorelandCategoryPending => 3.8
2009-05-13 13:40Utkarsh AyachitTarget Version => 3.8
2010-05-07 09:00Robert MaynardStatusbacklog => tabled
2010-05-07 09:00Robert MaynardAssigned To => Robert Maynard
2010-05-10 09:29Robert MaynardNote Added: 0020692
2010-05-10 09:29Robert MaynardStatustabled => @80@
2010-05-10 09:29Robert MaynardResolutionopen => fixed
2010-05-17 21:39Alan ScottNote Added: 0020775
2010-05-17 21:39Alan ScottStatus@80@ => closed
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0020692)
Robert Maynard   
2010-05-10 09:29   
commit SHA: 8b277e80188352b56fb018237950bef0987173ef
(0020775)
Alan Scott   
2010-05-17 21:39   
Tested local server, Windows, trunk.