18 #ifndef viskores_worklet_Dispatcher_MapField_h
19 #define viskores_worklet_Dispatcher_MapField_h
28 class WorkletMapField;
32 template <
typename WorkletType>
34 :
public viskores::worklet::internal::DispatcherBase<DispatcherMapField<WorkletType>,
36 viskores::worklet::WorkletMapField>
39 viskores::worklet::internal::DispatcherBase<DispatcherMapField<WorkletType>,
45 template <
typename... T>
51 template <
typename Invocation>
54 using namespace viskores::worklet::internal;
57 using InputDomainType =
typename Invocation::InputDomainType;
61 const InputDomainType& inputDomain = invocation.GetInputDomain();
67 auto numInstances = SchedulingRange(inputDomain);
71 this->BasicInvoke(invocation, numInstances);
77 #endif //viskores_worklet_Dispatcher_MapField_h