Go to the documentation of this file.
10 #ifndef vtk_m_exec_arg_CellShape_h
11 #define vtk_m_exec_arg_CellShape_h
40 template <
typename FetchTag,
typename ExecObjectType>
44 template <
typename ThreadIndicesType>
45 VTKM_EXEC auto Load(
const ThreadIndicesType& indices,
const ExecObjectType&)
const
46 -> decltype(indices.GetCellShape())
48 return indices.GetCellShape();
51 template <
typename ThreadIndicesType,
typename ValueType>
61 #endif //vtk_m_exec_arg_CellShape_h
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
The base class for all tags used in an ExecutionSignature.
Definition: ExecutionSignatureTagBase.h:37
vtkm::Int32 IdComponent
Represents a component ID (index of component in a vector).
Definition: Types.h:168
VTKM_EXEC void Store(const ThreadIndicesType &, const ExecObjectType &, const ValueType &) const
Definition: exec/arg/CellShape.h:52
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 getting the cell shape.
Definition: exec/arg/CellShape.h:28
The ExecutionSignature tag to use to get the cell shape.
Definition: exec/arg/CellShape.h:34
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC auto Load(const ThreadIndicesType &indices, const ExecObjectType &) const -> decltype(indices.GetCellShape())
Definition: exec/arg/CellShape.h:45
#define VTKM_SUPPRESS_EXEC_WARNINGS
Definition: ExportMacros.h:53
static constexpr vtkm::IdComponent INDEX
Definition: exec/arg/CellShape.h:36