Commit ac898239 authored by Spiros Tsalikis's avatar Spiros Tsalikis
Browse files

Fix TestNamedComponents and TestContourCases tests

parent b5cd532c
Pipeline #240527 passed with stages
......@@ -166,8 +166,8 @@ int TestNamedComponents(int, char*[])
calc->SetAttributeTypeToPointData();
// Add coordinate scalar and vector variables
calc->AddCoordinateScalarVariable("coordsX", 0);
calc->AddScalarVariable("point coords_YLOC", "point coords", 1);
calc->SetFunction("coordsX + point coords_YLOC");
calc->AddScalarVariable("\"point coords_YLOC\"", "point coords", 1);
calc->SetFunction("coordsX + \"point coords_YLOC\"");
calc->SetResultArrayName("Result");
calc->Update();
......
......@@ -75,7 +75,7 @@ class CellTestBase:
calcFilter.AddVectorArrayName('grad')
calcFilter.AddVectorArrayName('Normals')
calcFilter.SetResultArrayName('dir')
calcFilter.SetFunction('grad.Normals')
calcFilter.SetFunction('dot(grad,Normals)')
calcFilter.Update()
out = vtk.vtkUnstructuredGrid()
......
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