Go to the documentation of this file.
10 #ifndef vtk_m_exec_arg_IncidentElementCount_h
11 #define vtk_m_exec_arg_IncidentElementCount_h
46 template <
typename FetchTag,
typename ExecObjectType>
52 template <
typename ThreadIndicesType>
55 return indices.GetIndicesIncident().GetNumberOfComponents();
58 template <
typename ThreadIndicesType>
68 #endif //vtk_m_exec_arg_IncidentElementCount_h
vtkm::IdComponent ValueType
Definition: IncidentElementCount.h:49
#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
Aspect tag to use for getting the incident element count.
Definition: IncidentElementCount.h:28
Class for loading and storing values in thread instance.
Definition: Fetch.h:49
The ExecutionSignature tag to get the number of incident elements.
Definition: IncidentElementCount.h:40
static constexpr vtkm::IdComponent INDEX
Definition: IncidentElementCount.h:42
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC ValueType Load(const ThreadIndicesType &indices, const ExecObjectType &) const
Definition: IncidentElementCount.h:53
VTKM_EXEC void Store(const ThreadIndicesType &, const ExecObjectType &, const ValueType &) const
Definition: IncidentElementCount.h:59
#define VTKM_SUPPRESS_EXEC_WARNINGS
Definition: ExportMacros.h:53