Skip to content

Expand usage of AverageByKey

Kenneth Moreland requested to merge kmorel/vtk-m:update-average-by-key into master

The AverageByKey.h header file had a single function that used the device adapter algorithm ReduceByKey method to do a simple averaging of a field. I added a second method that can do an average when given a vtkm::worklet::Keys object. I expect this to be a common use case as we implement transforming fields from input to output in many algorithms.

Merge request reports