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>
 
   67     return this->
GetVisitArray(inputRange[0] * inputRange[1] * inputRange[2]);
 
   76 #endif // vtk_m_worklet_ScatterPermutation_h 
  
PermutationArrayHandle Permutation
Definition: ScatterPermutation.h:71
 
VTKM_CONT vtkm::Id GetNumberOfValues() const
Returns the number of entries in the array.
Definition: ArrayHandle.h:448
 
Manages an array-worth of data.
Definition: ArrayHandle.h:283
 
Groups connected points that have the same field value.
Definition: Atomic.h:19
 
VTKM_CONT VisitArrayType GetVisitArray(vtkm::Id3 inputRange) const
Definition: ScatterPermutation.h:65
 
VTKM_CONT vtkm::Id GetOutputRange(RangeType) const
Definition: ScatterPermutation.h:48
 
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
 
vtkm::cont::ArrayHandle< vtkm::Id, PermutationStorage > PermutationArrayHandle
Definition: ScatterPermutation.h:35
 
ScatterPermutation(const PermutationArrayHandle &permutation)
Definition: ScatterPermutation.h:41
 
#define VTKM_CONT
Definition: ExportMacros.h:57
 
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:63
 
VTKM_CONT VisitArrayType GetVisitArray(vtkm::Id inputRange) const
Definition: ScatterPermutation.h:62
 
VTKM_CONT OutputToInputMapType GetOutputToInputMap() const
Definition: ScatterPermutation.h:59
 
VTKM_CONT OutputToInputMapType GetOutputToInputMap(RangeType) const
Definition: ScatterPermutation.h:54
 
vtkm::cont::ArrayHandleConstant< vtkm::IdComponent > VisitArrayType
Definition: ScatterPermutation.h:39