Go to the source code of this file.
|
| | vtkm |
| | Groups connected points that have the same field value.
|
| |
◆ VTKM_BASIC_INTEGER_TYPE
| #define VTKM_BASIC_INTEGER_TYPE |
( |
|
T | ) |
|
Value: template <> \
struct TypeTraits<T> \
{ \
using NumericTag = TypeTraitsIntegerTag; \
using DimensionalityTag = TypeTraitsScalarTag; \
VTKM_EXEC_CONT static T ZeroInitialization() \
{ \
using ReturnType = T; \
return ReturnType(); \
} \
};
◆ VTKM_BASIC_REAL_TYPE
| #define VTKM_BASIC_REAL_TYPE |
( |
|
T | ) |
|
Value: template <> \
struct TypeTraits<T> \
{ \
using NumericTag = TypeTraitsRealTag; \
using DimensionalityTag = TypeTraitsScalarTag; \
VTKM_EXEC_CONT static T ZeroInitialization() { return T(); } \
};