Skip to content

Add tests for divergence, vorticity, and q criterion

Kenneth Moreland requested to merge kmorel/vtk-m:gradient-test into master

The gradient filter has the ability to compute divergence, vorticity, and q criterion. However, none of the gradient tests were actually testing the result of these computations. At best, one of the tests was checking that the arrays were created, but never actually looking at the values.

For one of the gradient tests, this change computes these 3 values and checks the results, which look reasonable compared to ParaView.

Merge request reports

Loading