vtk-m/vtkm/filter/field_conversion
Kenneth Moreland 0c13917c1e Change CellAverage to work on fields of any type
The previous version of the `CellAverage` filter used a float fallback
to handle most array types. The problem with this approach other than
converting field types perhaps unexpectantly is that it does not work
with every `Vec` size. This change uses the extract by component feature
of `UnknownArrayHandle` to handle every array type.

To implement this change the `CellAverage` worklet had to be changed to
handle recombined vecs. This change resulted in a feature degridation
where it can no longer be compiled for inputs of incompatible `Vec`
sizes. This feature dates back to when worklets like this were exposed
in the interface. This worklet class is now hidden away from the exposed
interface, so this degredation should not affect end users. There are
some unit tests that use this worklet to test other features, and these
had to be updated.
2023-02-03 14:51:40 -05:00
..
testing Update use of field association enumerations 2022-03-17 11:02:37 -06:00
worklet Change CellAverage to work on fields of any type 2023-02-03 14:51:40 -05:00
CellAverage.cxx Change CellAverage to work on fields of any type 2023-02-03 14:51:40 -05:00
CellAverage.h Rename NewFilter base classes to Filter 2022-12-01 13:07:56 -07:00
CMakeLists.txt Add module mechanism 2022-10-26 12:51:05 -06:00
PointAverage.cxx Change all usage of IsField* to Is*Field. 2022-08-29 14:42:02 -04:00
PointAverage.h Rename NewFilter base classes to Filter 2022-12-01 13:07:56 -07:00
vtkm.module Add module mechanism 2022-10-26 12:51:05 -06:00