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