VTK-m  2.2
WorkletMapField.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_worklet_WorkletMapField_h
11 #define vtk_m_worklet_WorkletMapField_h
12 
14 
22 
26 
28 
29 namespace vtkm
30 {
31 namespace worklet
32 {
33 
39 class WorkletMapField : public vtkm::worklet::internal::WorkletBase
40 {
41 public:
42  template <typename Worklet>
44 
48 
61  {
65  };
66 
81  {
85  };
86 
100  {
104  };
105 
106 #ifdef VTKM_DOXYGEN_ONLY
107  // These redeclarations of superclass features are for documentation purposes only.
108 
110  struct WholeArrayIn : vtkm::worklet::internal::WorkletBase::WholeArrayIn
111  {
112  };
113 
115  struct WholeArrayOut : vtkm::worklet::internal::WorkletBase::WholeArrayOut
116  {
117  };
118 
120  struct WholeArrayInOut : vtkm::worklet::internal::WorkletBase::WholeArrayInOut
121  {
122  };
123 
125  struct AtomicArrayInOut : vtkm::worklet::internal::WorkletBase::AtomicArrayInOut
126  {
127  };
128 
130  template <typename VisitTopology = Cell, typename IncidentTopology = Point>
132  : vtkm::worklet::internal::WorkletBase::WholeCellSetIn<VisitTopology, IncidentTopology>
133  {
134  };
135 
137  struct ExecObject : vtkm::worklet::internal::WorkletBase::ExecObject
138  {
139  };
140 #endif
141 
143 
147 
148 #ifdef VTKM_DOXYGEN_ONLY
149  // These redeclarations of superclass features are for documentation purposes only.
150 
152  struct _1 : vtkm::worklet::internal::WorkletBase::_1
153  {
154  };
155 
158  {
159  };
160 
163  {
164  };
165 
168  {
169  };
170 
173  {
174  };
175 
178  {
179  };
180 
182  struct Device : vtkm::worklet::internal::WorkletBase::Device
183  {
184  };
185 #endif
186 
188 };
189 
190 }
191 } // namespace vtkm::worklet
192 
193 #endif //vtk_m_worklet_WorkletMapField_h
vtkm::worklet::WorkletMapField::AtomicArrayInOut
ControlSignature tag for whole input/output arrays.
Definition: WorkletMapField.h:125
vtkm::worklet::WorkletMapField::ExecObject
ControlSignature tag for execution object inputs.
Definition: WorkletMapField.h:137
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::worklet::WorkletMapField::WholeArrayInOut
ControlSignature tag for whole input/output arrays.
Definition: WorkletMapField.h:120
vtkm::worklet::WorkletMapField::WorkIndex
The ExecutionSignature tag to use to get the work index.
Definition: WorkletMapField.h:157
TypeCheckTagArrayOut.h
vtkm::worklet::WorkletMapField::_1
Argument placeholders for an ExecutionSignature.
Definition: WorkletMapField.h:152
vtkm::worklet::WorkletMapField::FieldOut
A control signature tag for output fields.
Definition: WorkletMapField.h:80
vtkm::worklet::WorkletMapField::WholeCellSetIn
ControlSignature tag for whole input topology.
Definition: WorkletMapField.h:131
TransportTagArrayIn.h
ControlSignatureTagBase.h
vtkm::exec::arg::FetchTagArrayDirectOut
Fetch tag for setting array values with direct indexing.
Definition: FetchTagArrayDirectOut.h:31
vtkm::worklet::WorkletMapField::ThreadIndices
The ExecutionSignature tag to use to get the thread indices.
Definition: WorkletMapField.h:177
TransportTagArrayOut.h
vtkm::cont::arg::TypeCheckTagArrayOut
The Array type check passes for any object that behaves like an ArrayHandle class and can be passed t...
Definition: TypeCheckTagArrayOut.h:31
vtkm::worklet::WorkletMapField::Device
ExecutionSignature tag for getting the device adapter tag.
Definition: WorkletMapField.h:182
vtkm::cont::arg::TransportTagArrayInOut
Transport tag for in-place arrays.
Definition: TransportTagArrayInOut.h:33
vtkm::exec::arg::OutputIndex
The ExecutionSignature tag to use to get the output index.
Definition: OutputIndex.h:44
vtkm::cont::arg::TransportTagArrayOut
Transport tag for output arrays.
Definition: TransportTagArrayOut.h:32
DispatcherMapField.h
vtkm::cont::arg::TypeCheckTagArrayInOut
The Array type check passes for any object that behaves like an ArrayHandle class and can be passed t...
Definition: TypeCheckTagArrayInOut.h:31
vtkm::worklet::WorkletMapField::InputIndex
The ExecutionSignature tag to use to get the input index.
Definition: WorkletMapField.h:167
TypeCheckTagArrayInOut.h
TransportTagArrayInOut.h
vtkm::cont::arg::TypeCheckTagArrayIn
The Array type check passes for any object that behaves like an ArrayHandle class and can be passed t...
Definition: TypeCheckTagArrayIn.h:31
vtkm::worklet::WorkletMapField::VisitIndex
The ExecutionSignature tag to use to get the visit index.
Definition: WorkletMapField.h:162
vtkm::worklet::DispatcherMapField
Dispatcher for worklets that inherit from WorkletMapField.
Definition: DispatcherMapField.h:25
vtkm::exec::arg::FetchTagArrayDirectIn
Fetch tag for getting array values with direct indexing.
Definition: FetchTagArrayDirectIn.h:29
vtkm::worklet::WorkletMapField::FieldIn
A control signature tag for input fields.
Definition: WorkletMapField.h:60
TypeCheckTagArrayIn.h
WorkletBase.h
vtkm::exec::arg::ThreadIndices
The ExecutionSignature tag to use to get the thread indices.
Definition: ThreadIndices.h:44
vtkm::worklet::WorkletMapField::FieldInOut
A control signature tag for input-output (in-place) fields.
Definition: WorkletMapField.h:99
vtkm::worklet::WorkletMapField::WholeArrayOut
ControlSignature tag for whole output arrays.
Definition: WorkletMapField.h:115
vtkm::cont::arg::TransportTagArrayIn
Transport tag for input arrays.
Definition: TransportTagArrayIn.h:32
FetchTagArrayDirectIn.h
vtkm::cont::arg::ControlSignatureTagBase
The base class for all tags used in a ControlSignature.
Definition: ControlSignatureTagBase.h:36
FetchTagArrayDirectInOut.h
FetchTagArrayDirectOut.h
vtkm::worklet::WorkletMapField::WholeArrayIn
ControlSignature tag for whole input arrays.
Definition: WorkletMapField.h:110
vtkm::exec::arg::FetchTagArrayDirectInOut
Fetch tag for in-place modifying array values with direct indexing.
Definition: FetchTagArrayDirectInOut.h:39
vtkm::exec::arg::VisitIndex
The ExecutionSignature tag to use to get the visit index.
Definition: VisitIndex.h:46
vtkm::worklet::WorkletMapField::OutputIndex
The ExecutionSignature tag to use to get the output index.
Definition: WorkletMapField.h:172
vtkm::exec::arg::InputIndex
The ExecutionSignature tag to use to get the input index.
Definition: InputIndex.h:43
vtkm::worklet::WorkletMapField
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:39
vtkm::exec::arg::WorkIndex
The ExecutionSignature tag to use to get the work index.
Definition: WorkIndex.h:39