Go to the documentation of this file.
11 #ifndef vtk_m_worklet_gradient_Transpose_h
12 #define vtk_m_worklet_gradient_Transpose_h
32 template <
typename FieldInVecType>
35 T tempA, tempB, tempC;
37 field[0][1] = field[1][0];
40 field[0][2] = field[2][0];
43 field[1][2] = field[2][1];
52 dispatcher.SetDevice(device);
53 dispatcher.Invoke(field);
Manages an array-worth of data.
Definition: ArrayHandle.h:283
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_EXEC void operator()(FieldInVecType &field) const
Definition: Transpose.h:33
void(FieldInOut field) ControlSignature
Definition: Transpose.h:30
Definition: Transpose.h:28
void Run(vtkm::cont::ArrayHandle< vtkm::Vec< vtkm::Vec< T, 3 >, 3 >, S > &field, vtkm::cont::DeviceAdapterId device=vtkm::cont::DeviceAdapterTagAny())
Definition: Transpose.h:48
Dispatcher for worklets that inherit from WorkletMapField.
Definition: DispatcherMapField.h:25
A control signature tag for input-output (in-place) fields.
Definition: WorkletMapField.h:71
Definition: DeviceAdapterTag.h:52
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