Go to the documentation of this file.
11 #ifndef vtk_m_worklet_gradient_Vorticity_h
12 #define vtk_m_worklet_gradient_Vorticity_h
30 template <
typename InputType,
typename OutputType>
33 vorticity[0] = input[1][2] - input[2][1];
34 vorticity[1] = input[2][0] - input[0][2];
35 vorticity[2] = input[0][1] - input[1][0];
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
A control signature tag for output fields.
Definition: WorkletMapField.h:60
VTKM_EXEC void operator()(const InputType &input, OutputType &vorticity) const
Definition: Vorticity.h:31
Definition: Vorticity.h:26
A control signature tag for input fields.
Definition: WorkletMapField.h:49
void(FieldIn input, FieldOut output) ControlSignature
Definition: Vorticity.h:28
A short fixed-length array.
Definition: Types.h:767
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38