Commit 28b64138 authored by Spiros Tsalikis's avatar Spiros Tsalikis
Browse files

Update Test EnSight6Elements to use the new dot-product

parent 2fbe8ba6
......@@ -21,7 +21,7 @@ geom.SetInputConnection(reader.GetOutputPort())
calc = vtk.vtkArrayCalculator()
calc.SetInputConnection(geom.GetOutputPort())
calc.SetAttributeTypeToPointData()
calc.SetFunction("pointCVectors_r . pointCVectors_i + pointScalars")
calc.SetFunction("dot(pointCVectors_r, pointCVectors_i) + pointScalars")
calc.AddScalarArrayName("pointScalars",0)
calc.AddVectorArrayName("pointCVectors_r",0,1,2)
calc.AddVectorArrayName("pointCVectors_i",0,1,2)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment