Go to the documentation of this file.
18 #ifndef viskores_exec_arg_FetchTagArrayDirectInOut_h
19 #define viskores_exec_arg_FetchTagArrayDirectInOut_h
51 template <
typename ExecObjectType>
56 using ValueType =
typename ExecObjectType::ValueType;
59 template <
typename ThreadIndicesType>
61 const ExecObjectType& arrayPortal)
const
63 return arrayPortal.Get(indices.GetOutputIndex());
67 template <
typename ThreadIndicesType>
69 const ExecObjectType& arrayPortal,
72 arrayPortal.Set(indices.GetOutputIndex(), value);
79 #endif //viskores_exec_arg_FetchTagArrayDirectInOut_h
ValueType Load(const ThreadIndicesType &indices, const ExecObjectType &arrayPortal) const
Definition: FetchTagArrayDirectInOut.h:60
#define VISKORES_SUPPRESS_EXEC_WARNINGS
Definition: ExportMacros.h:61
Fetch tag for in-place modifying array values with direct indexing.
Definition: FetchTagArrayDirectInOut.h:47
Class for loading and storing values in thread instance.
Definition: Fetch.h:57
Groups connected points that have the same field value.
Definition: Atomic.h:27
void Store(const ThreadIndicesType &indices, const ExecObjectType &arrayPortal, const ValueType &value) const
Definition: FetchTagArrayDirectInOut.h:68
Aspect tag to use for default load/store of data.
Definition: AspectTagDefault.h:30
typename ExecObjectType::ValueType ValueType
Definition: FetchTagArrayDirectInOut.h:56
#define VISKORES_EXEC
Definition: ExportMacros.h:59