Viskores  1.0
WorkletMapField.h
Go to the documentation of this file.
1 //============================================================================
2 // The contents of this file are covered by the Viskores license. See
3 // LICENSE.txt for details.
4 //
5 // By contributing to this file, all contributors agree to the Developer
6 // Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7 //============================================================================
8 
9 //============================================================================
10 // Copyright (c) Kitware, Inc.
11 // All rights reserved.
12 // See LICENSE.txt for details.
13 //
14 // This software is distributed WITHOUT ANY WARRANTY; without even
15 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 // PURPOSE. See the above copyright notice for more information.
17 //============================================================================
18 #ifndef viskores_worklet_WorkletMapField_h
19 #define viskores_worklet_WorkletMapField_h
20 
22 
30 
34 
36 
37 namespace viskores
38 {
39 namespace worklet
40 {
41 
47 class WorkletMapField : public viskores::worklet::internal::WorkletBase
48 {
49 public:
50  template <typename Worklet>
52 
56 
69  {
73  };
74 
89  {
93  };
94 
108  {
112  };
113 
114 #ifdef VISKORES_DOXYGEN_ONLY
115  // These redeclarations of superclass features are for documentation purposes only.
116 
118  struct WholeArrayIn : viskores::worklet::internal::WorkletBase::WholeArrayIn
119  {
120  };
121 
123  struct WholeArrayOut : viskores::worklet::internal::WorkletBase::WholeArrayOut
124  {
125  };
126 
128  struct WholeArrayInOut : viskores::worklet::internal::WorkletBase::WholeArrayInOut
129  {
130  };
131 
133  struct AtomicArrayInOut : viskores::worklet::internal::WorkletBase::AtomicArrayInOut
134  {
135  };
136 
138  template <typename VisitTopology = Cell, typename IncidentTopology = Point>
140  : viskores::worklet::internal::WorkletBase::WholeCellSetIn<VisitTopology, IncidentTopology>
141  {
142  };
143 
145  struct ExecObject : viskores::worklet::internal::WorkletBase::ExecObject
146  {
147  };
148 #endif
149 
151 
155 
156 #ifdef VISKORES_DOXYGEN_ONLY
157  // These redeclarations of superclass features are for documentation purposes only.
158 
160  struct _1 : viskores::worklet::internal::WorkletBase::_1
161  {
162  };
163 
166  {
167  };
168 
171  {
172  };
173 
176  {
177  };
178 
181  {
182  };
183 
186  {
187  };
188 
190  struct Device : viskores::worklet::internal::WorkletBase::Device
191  {
192  };
193 #endif
194 
196 };
197 
198 }
199 } // namespace viskores::worklet
200 
201 #endif //viskores_worklet_WorkletMapField_h
viskores::cont::arg::TransportTagArrayInOut
Transport tag for in-place arrays.
Definition: TransportTagArrayInOut.h:41
viskores::worklet::WorkletMapField::ThreadIndices
The ExecutionSignature tag to use to get the thread indices.
Definition: WorkletMapField.h:185
viskores::worklet::WorkletMapField::WholeArrayOut
ControlSignature tag for whole output arrays.
Definition: WorkletMapField.h:123
viskores::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:39
viskores::worklet::WorkletMapField::ExecObject
ControlSignature tag for execution object inputs.
Definition: WorkletMapField.h:145
viskores::exec::arg::ThreadIndices
The ExecutionSignature tag to use to get the thread indices.
Definition: ThreadIndices.h:52
viskores::cont::arg::TransportTagArrayIn
Transport tag for input arrays.
Definition: TransportTagArrayIn.h:40
viskores::worklet::WorkletMapField::WorkIndex
The ExecutionSignature tag to use to get the work index.
Definition: WorkletMapField.h:165
TypeCheckTagArrayOut.h
TransportTagArrayIn.h
ControlSignatureTagBase.h
viskores::worklet::WorkletMapField::FieldIn
A control signature tag for input fields.
Definition: WorkletMapField.h:68
TransportTagArrayOut.h
viskores::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:39
viskores::worklet::WorkletMapField::FieldOut
A control signature tag for output fields.
Definition: WorkletMapField.h:88
viskores::worklet::WorkletMapField::WholeArrayInOut
ControlSignature tag for whole input/output arrays.
Definition: WorkletMapField.h:128
viskores::worklet::WorkletMapField::WholeCellSetIn
ControlSignature tag for whole input topology.
Definition: WorkletMapField.h:139
DispatcherMapField.h
viskores::cont::arg::ControlSignatureTagBase
The base class for all tags used in a ControlSignature.
Definition: ControlSignatureTagBase.h:44
TypeCheckTagArrayInOut.h
viskores::worklet::WorkletMapField::InputIndex
The ExecutionSignature tag to use to get the input index.
Definition: WorkletMapField.h:175
viskores::exec::arg::FetchTagArrayDirectInOut
Fetch tag for in-place modifying array values with direct indexing.
Definition: FetchTagArrayDirectInOut.h:47
TransportTagArrayInOut.h
viskores::exec::arg::VisitIndex
The ExecutionSignature tag to use to get the visit index.
Definition: VisitIndex.h:54
viskores::worklet::WorkletMapField::FieldInOut
A control signature tag for input-output (in-place) fields.
Definition: WorkletMapField.h:107
viskores
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores::exec::arg::OutputIndex
The ExecutionSignature tag to use to get the output index.
Definition: OutputIndex.h:52
viskores::worklet::WorkletMapField::_1
Argument placeholders for an ExecutionSignature.
Definition: WorkletMapField.h:160
viskores::worklet::DispatcherMapField
Dispatcher for worklets that inherit from WorkletMapField.
Definition: DispatcherMapField.h:33
viskores::worklet::WorkletMapField::OutputIndex
The ExecutionSignature tag to use to get the output index.
Definition: WorkletMapField.h:180
TypeCheckTagArrayIn.h
WorkletBase.h
viskores::cont::arg::TransportTagArrayOut
Transport tag for output arrays.
Definition: TransportTagArrayOut.h:40
viskores::worklet::WorkletMapField::AtomicArrayInOut
ControlSignature tag for whole input/output arrays.
Definition: WorkletMapField.h:133
viskores::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:39
FetchTagArrayDirectIn.h
viskores::exec::arg::FetchTagArrayDirectIn
Fetch tag for getting array values with direct indexing.
Definition: FetchTagArrayDirectIn.h:37
viskores::worklet::WorkletMapField::WholeArrayIn
ControlSignature tag for whole input arrays.
Definition: WorkletMapField.h:118
FetchTagArrayDirectInOut.h
FetchTagArrayDirectOut.h
viskores::worklet::WorkletMapField::VisitIndex
The ExecutionSignature tag to use to get the visit index.
Definition: WorkletMapField.h:170
viskores::worklet::WorkletMapField::Device
ExecutionSignature tag for getting the device adapter tag.
Definition: WorkletMapField.h:190
viskores::exec::arg::FetchTagArrayDirectOut
Fetch tag for setting array values with direct indexing.
Definition: FetchTagArrayDirectOut.h:39
viskores::worklet::WorkletMapField
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:47
viskores::exec::arg::InputIndex
The ExecutionSignature tag to use to get the input index.
Definition: InputIndex.h:51
viskores::exec::arg::WorkIndex
The ExecutionSignature tag to use to get the work index.
Definition: WorkIndex.h:47