VTK-m  2.2
IndexTag.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_internal_StaticIndex_h
11 #define vtk_m_internal_StaticIndex_h
12 
13 #include <vtkm/Types.h>
14 
15 namespace vtkm
16 {
17 namespace internal
18 {
19 
29 template <vtkm::IdComponent Index>
30 struct IndexTag
31 {
32  static constexpr vtkm::IdComponent INDEX = Index;
33 };
34 }
35 } // namespace vtkm::internal
36 
37 #endif //vtk_m_internal_StaticIndex_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19
Types.h
vtkm::IdComponent
vtkm::Int32 IdComponent
Base type to use to index small lists.
Definition: Types.h:194
Index
int Index
Definition: ChooseCudaDevice.h:87