Go to the documentation of this file.
11 #ifndef vtk_m_worklet_gradient_QCriterion_h
12 #define vtk_m_worklet_gradient_QCriterion_h
29 template <
typename InputType,
typename OutputType>
33 -(input[0][0] * input[0][0] + input[1][1] * input[1][1] + input[2][2] * input[2][2]) / 2 -
34 (input[1][0] * input[0][1] + input[2][0] * input[0][2] + input[2][1] * input[1][2]);
#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
A control signature tag for input fields.
Definition: WorkletMapField.h:49
VTKM_EXEC void operator()(const InputType &input, OutputType &qcriterion) const
Definition: QCriterion.h:30
Definition: QCriterion.h:25
A short fixed-length array.
Definition: Types.h:767
void(FieldIn input, FieldOut output) ControlSignature
Definition: QCriterion.h:27
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38