Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Spiros Tsalikis
VTK
Commits
30951dcd
Commit
30951dcd
authored
Jul 25, 2021
by
Spiros Tsalikis
Browse files
Fix TestNamedComponents and TestContourCases tests
parent
28b64138
Pipeline
#240441
failed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Filters/Core/Testing/Cxx/TestNamedComponents.cxx
View file @
30951dcd
...
...
@@ -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
();
...
...
Filters/Core/Testing/Python/TestContourCases.py
View file @
30951dcd
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment