Go to the documentation of this file.
10 #ifndef vtk_m_exec_arg_FetchTagArrayDirectOut_h
11 #define vtk_m_exec_arg_FetchTagArrayDirectOut_h
33 template <
typename ExecObjectType>
39 template <
typename ThreadIndicesType>
40 VTKM_EXEC auto Load(
const ThreadIndicesType&,
const ExecObjectType&)
const ->
41 typename ExecObjectType::ValueType
44 using ValueType =
typename ExecObjectType::ValueType;
49 template <
typename ThreadIndicesType,
typename T>
51 const ExecObjectType& arrayPortal,
54 using ValueType =
typename ExecObjectType::ValueType;
55 arrayPortal.Set(indices.GetOutputIndex(),
static_cast<ValueType>(value));
62 #endif //vtk_m_exec_arg_FetchTagArrayDirectOut_h
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC void Store(const ThreadIndicesType &indices, const ExecObjectType &arrayPortal, const T &value) const
Definition: FetchTagArrayDirectOut.h:50
Fetch tag for setting array values with direct indexing.
Definition: FetchTagArrayDirectOut.h:29
typename ExecObjectType::ValueType ValueType
The type of value to load and store.
Definition: Fetch.h:58
Class for loading and storing values in thread instance.
Definition: Fetch.h:49
Aspect tag to use for default load/store of data.
Definition: AspectTagDefault.h:22
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC auto Load(const ThreadIndicesType &, const ExecObjectType &) const -> typename ExecObjectType::ValueType
Definition: FetchTagArrayDirectOut.h:40
#define VTKM_SUPPRESS_EXEC_WARNINGS
Definition: ExportMacros.h:53