Go to the documentation of this file.
18 #ifndef viskores_worklet_ScatterIdentity_h
19 #define viskores_worklet_ScatterIdentity_h
61 return this->
GetVisitArray(inputRange[0] * inputRange[1] * inputRange[2]);
64 template <
typename RangeType>
73 #endif //viskores_worklet_ScatterIdentity_h
VisitArrayType GetVisitArray(viskores::Id3 inputRange) const
Definition: ScatterIdentity.h:59
RangeType GetOutputRange(RangeType inputRange) const
Definition: ScatterIdentity.h:65
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
OutputToInputMapType GetOutputToInputMap(viskores::Id3 inputRange) const
Definition: ScatterIdentity.h:47
viskores::cont::ArrayHandleIndex OutputToInputMapType
Definition: ScatterIdentity.h:40
An array handle with a constant value.
Definition: ArrayHandleConstant.h:78
A scatter that maps input directly to output.
Definition: ScatterIdentity.h:38
viskores::cont::ArrayHandleConstant< viskores::IdComponent > VisitArrayType
Definition: ScatterIdentity.h:52
OutputToInputMapType GetOutputToInputMap(viskores::Id inputRange) const
Definition: ScatterIdentity.h:42
An implicit array handle containing the its own indices.
Definition: ArrayHandleIndex.h:64
VisitArrayType GetVisitArray(viskores::Id inputRange) const
Definition: ScatterIdentity.h:54