Go to the documentation of this file.
10 #ifndef vtk_m_exec_arg_FetchTagArrayDirectInOut_h
11 #define vtk_m_exec_arg_FetchTagArrayDirectInOut_h
43 template <
typename ExecObjectType>
48 using ValueType =
typename ExecObjectType::ValueType;
51 template <
typename ThreadIndicesType>
53 const ExecObjectType& arrayPortal)
const
55 return arrayPortal.Get(indices.GetOutputIndex());
59 template <
typename ThreadIndicesType>
61 const ExecObjectType& arrayPortal,
64 arrayPortal.Set(indices.GetOutputIndex(), value);
71 #endif //vtk_m_exec_arg_FetchTagArrayDirectInOut_h
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
ValueType Load(const ThreadIndicesType &indices, const ExecObjectType &arrayPortal) const
Definition: FetchTagArrayDirectInOut.h:52
Class for loading and storing values in thread instance.
Definition: Fetch.h:49
typename ExecObjectType::ValueType ValueType
Definition: FetchTagArrayDirectInOut.h:48
Aspect tag to use for default load/store of data.
Definition: AspectTagDefault.h:22
Fetch tag for in-place modifying array values with direct indexing.
Definition: FetchTagArrayDirectInOut.h:39
void Store(const ThreadIndicesType &indices, const ExecObjectType &arrayPortal, const ValueType &value) const
Definition: FetchTagArrayDirectInOut.h:60
#define VTKM_SUPPRESS_EXEC_WARNINGS
Definition: ExportMacros.h:53