-
- Downloads
Update code to use ArrayCopyShallowIfPossible
There were several places in the code that had to check the type of an `UnknownArrayHandle` and conditionally get or copy that array. This code is simplified by using `ArrayCopyShallowIfPossible`.
Showing
- vtkm/filter/ImageDifference.hxx 2 additions, 1 deletionvtkm/filter/ImageDifference.hxx
- vtkm/filter/particleadvection/DataSetIntegrator.h 1 addition, 5 deletionsvtkm/filter/particleadvection/DataSetIntegrator.h
- vtkm/io/VTKDataSetReaderBase.cxx 1 addition, 10 deletionsvtkm/io/VTKDataSetReaderBase.cxx
- vtkm/io/VTKRectilinearGridReader.cxx 3 additions, 33 deletionsvtkm/io/VTKRectilinearGridReader.cxx
- vtkm/worklet/ExternalFaces.h 1 addition, 1 deletionvtkm/worklet/ExternalFaces.h
- vtkm/worklet/PointMerge.h 2 additions, 16 deletionsvtkm/worklet/PointMerge.h
- vtkm/worklet/particleadvection/GridEvaluators.h 2 additions, 4 deletionsvtkm/worklet/particleadvection/GridEvaluators.h
Loading