Skip to content

Change VectorMagnitude to work with any type of field

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

Previously, VectorMagnitude only worked with Vecs of size 2, 3, or 4. It now works with Vecs of any size. It also avoids a memory copy of non-float types (although it does add a little arithmetic in the computation).

Merge request reports