Commit 80b12e32 authored by Dave Pugmire's avatar Dave Pugmire
Browse files

Merge branch 'coordSysFilter' of https://gitlab.kitware.com/dpugmire/vtk-m into coordSysFilter

parents ab5eeab1 27dade14
......@@ -74,7 +74,7 @@ public:
const vtkm::cont::ArrayHandle<T, StorageType>& field,
const vtkm::filter::FieldMetadata& fieldMeta,
const vtkm::filter::PolicyBase<DerivedPolicy>& policy,
const DeviceAdapter& tag);
const DeviceAdapter& tag) const;
private:
vtkm::worklet::SphericalCoordinateTransform Worklet;
......
......@@ -44,7 +44,6 @@ inline VTKM_CONT vtkm::cont::DataSet CylindricalCoordinateTransform::DoExecute(
{
vtkm::cont::ArrayHandle<T> outArray;
Worklet.Run(field, outArray, device);
return internal::CreateResult(inDataSet,
outArray,
this->GetOutputFieldName(),
......@@ -66,11 +65,10 @@ inline VTKM_CONT vtkm::cont::DataSet SphericalCoordinateTransform::DoExecute(
const vtkm::cont::ArrayHandle<T, StorageType>& field,
const vtkm::filter::FieldMetadata& fieldMetadata,
const vtkm::filter::PolicyBase<DerivedPolicy>&,
const DeviceAdapter& device)
const DeviceAdapter& device) const
{
vtkm::cont::ArrayHandle<T> outArray;
Worklet.Run(field, outArray, device);
return internal::CreateResult(inDataSet,
outArray,
this->GetOutputFieldName(),
......
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