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
Michael Migliore
VTK
Commits
3a0de8bd
Commit
3a0de8bd
authored
Jul 19, 2017
by
Shawn Waldon
Browse files
Fix VTKM test to use non-deprecated vtkArrayCalculator API
parent
2008ee2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Accelerators/Vtkm/Testing/Cxx/TestVTKMGradient.cxx
View file @
3a0de8bd
...
...
@@ -229,7 +229,7 @@ namespace
calculator
->
SetInputData
(
grid
);
calculator
->
SetResultArrayName
(
fieldName
);
calculator
->
SetFunction
(
"coordsY*iHat+coordsX*jHat+coordsZ*kHat"
);
calculator
->
SetAttribute
ModeToUse
PointData
();
calculator
->
SetAttribute
TypeTo
PointData
();
calculator
->
AddCoordinateScalarVariable
(
"coordsX"
,
0
);
calculator
->
AddCoordinateScalarVariable
(
"coordsY"
,
1
);
calculator
->
AddCoordinateScalarVariable
(
"coordsZ"
,
2
);
...
...
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