Merge topic 'ollielo-master-patch-38553'
197a9b3ff fixed an oversight on the correct way to get CoordinateSystem. Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kenneth Moreland <kmorel@acm.org> Merge-request: !2446
This commit is contained in:
commit
62f6799f37
@ -104,8 +104,7 @@ inline VTKM_CONT vtkm::cont::DataSet ParticleDensityCloudInCell::DoExecute(
|
||||
locator.SetCoordinates(uniform.GetCoordinateSystem());
|
||||
locator.Update();
|
||||
|
||||
vtkm::cont::ArrayHandle<vtkm::Vec3f> coords;
|
||||
dataSet.GetCoordinateSystem().GetData().AsArrayHandle<vtkm::Vec3f>(coords);
|
||||
auto coords = dataSet.GetCoordinateSystem().GetDataAsMultiplexer();
|
||||
|
||||
vtkm::cont::ArrayHandle<T> density;
|
||||
vtkm::cont::ArrayCopy(vtkm::cont::ArrayHandleConstant<T>(0, uniform.GetNumberOfPoints()),
|
||||
|
Loading…
Reference in New Issue
Block a user