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
Class for loading and storing values in thread instance.
Definition: Fetch.h:49
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC void Store(const ThreadIndicesType &indices, const ExecObjectType &arrayPortal, const ValueType &value) const
Definition: FetchTagArrayDirectInOut.h:60
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC ValueType Load(const ThreadIndicesType &indices, const ExecObjectType &arrayPortal) const
Definition: FetchTagArrayDirectInOut.h:52
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
#define VTKM_SUPPRESS_EXEC_WARNINGS
Definition: ExportMacros.h:53