Skip to content

Update probe filter to interpolate any field type

Kenneth Moreland requested to merge kmorel/vtk-m:probe-interp-any-field into master

Previously, the probe filter only worked on certain Vec sizes and converted many types to floating point.

This change uses the extract component feature to pull data from any array at its natural component type.

The bad part of this change is that it has to call the worklet separately for each component in the field. That adds overhead and probably lowers the cache efficiency. It was implemented this way because the cell interpolation function does not work with the recombined vecs returned from extract array.

Merge request reports