Commit 3a0de8bd authored by Shawn Waldon's avatar Shawn Waldon
Browse files

Fix VTKM test to use non-deprecated vtkArrayCalculator API

parent 2008ee2c
......@@ -229,7 +229,7 @@ namespace
calculator->SetInputData(grid);
calculator->SetResultArrayName(fieldName);
calculator->SetFunction("coordsY*iHat+coordsX*jHat+coordsZ*kHat");
calculator->SetAttributeModeToUsePointData();
calculator->SetAttributeTypeToPointData();
calculator->AddCoordinateScalarVariable("coordsX", 0);
calculator->AddCoordinateScalarVariable("coordsY", 1);
calculator->AddCoordinateScalarVariable("coordsZ", 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