Go to the documentation of this file.
18 #ifndef viskores_worklet_ScatterUniform_h
19 #define viskores_worklet_ScatterUniform_h
34 template <viskores::IdComponent Modulus>
44 template <viskores::IdComponent Divisor>
60 template <viskores::IdComponent NumOutputsPerInput>
68 return inputRange * NumOutputsPerInput;
73 return this->
GetOutputRange(inputRange[0] * inputRange[1] * inputRange[2]);
78 template <
typename RangeType>
87 template <
typename RangeType>
90 return VisitArrayType(detail::FunctorModulus<NumOutputsPerInput>(),
97 #endif //viskores_worklet_ScatterUniform_h
viskores::Int32 IdComponent
Base type to use to index small lists.
Definition: Types.h:202
#define VISKORES_EXEC_CONT
Definition: ExportMacros.h:60
viskores::Int64 Id
Base type to use to index arrays.
Definition: Types.h:235
#define VISKORES_CONT
Definition: ExportMacros.h:65
Groups connected points that have the same field value.
Definition: Atomic.h:27
An ArrayHandle that computes values on the fly.
Definition: ArrayHandleImplicit.h:186