Go to the documentation of this file.
10 #ifndef vtk_m_worklet_ScatterPermutation_h
11 #define vtk_m_worklet_ScatterPermutation_h
31 template <
typename PermutationStorage = VTKM_DEFAULT_STORAGE_TAG>
47 template <
typename RangeType>
53 template <
typename RangeType>
70 return this->
GetVisitArray(inputRange[0] * inputRange[1] * inputRange[2]);
79 #endif // vtk_m_worklet_ScatterPermutation_h
PermutationArrayHandle Permutation
Definition: ScatterPermutation.h:74
Manages an array-worth of data.
Definition: ArrayHandle.h:300
OutputToInputMapType GetOutputToInputMap() const
Definition: ScatterPermutation.h:59
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::Id GetNumberOfValues() const
Returns the number of entries in the array.
Definition: ArrayHandle.h:468
vtkm::Id GetOutputRange(RangeType) const
Definition: ScatterPermutation.h:48
vtkm::cont::ArrayHandle< vtkm::Id, PermutationStorage > PermutationArrayHandle
Definition: ScatterPermutation.h:35
VisitArrayType GetVisitArray(vtkm::Id3 inputRange) const
Definition: ScatterPermutation.h:68
ScatterPermutation(const PermutationArrayHandle &permutation)
Definition: ScatterPermutation.h:41
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::Int64 Id
Base type to use to index arrays.
Definition: Types.h:227
A scatter that maps input to output based on a permutation array.
Definition: ScatterPermutation.h:32
An array handle with a constant value.
Definition: ArrayHandleConstant.h:70
OutputToInputMapType GetOutputToInputMap(RangeType) const
Definition: ScatterPermutation.h:54
VisitArrayType GetVisitArray(vtkm::Id inputRange) const
Definition: ScatterPermutation.h:62
vtkm::cont::ArrayHandleConstant< vtkm::IdComponent > VisitArrayType
Definition: ScatterPermutation.h:39