10 #ifndef vtk_m_cont_internal_DefaultTypesVTK_h 11 #define vtk_m_cont_internal_DefaultTypesVTK_h 16 #include <vtkm/TypeList.h> 18 #include <vtkm/cont/CellSetList.h> 19 #include <vtkm/cont/StorageList.h> 23 #ifdef VTKM_ADD_XGC_DEFAULT_TYPES 24 #include <vtkm/cont/ArrayHandleCartesianProduct.h> 25 #include <vtkm/cont/ArrayHandleUniformPointCoordinates.h> 26 #include <vtkm/cont/ArrayHandleXGCCoordinates.h> 27 #include <vtkm/cont/StorageList.h> 52 vtkm::List<vtkm::Vec<vtkm::Vec<vtkm::Float32, 3>, 3>, vtkm::Vec<vtkm::Vec<vtkm::Float64, 3>, 3> >;
54 using FieldTypeInVTK = vtkm::ListAppend<vtkm::TypeListVecCommon, VTKScalarTypes>;
57 vtkm::ListAppend<vtkm::TypeListVecCommon, SpecialGradientOutTypes, VTKScalarTypes>;
61 vtkm::List<vtkm::cont::CellSetStructured<3>, vtkm::cont::CellSetStructured<2>, vtkm::cont::CellSetStructured<1> >;
66 #ifdef VTKM_USE_64BIT_IDS 67 using Int32AOSHandle = vtkm::cont::ArrayHandle<vtkm::Int32>;
68 using Int32AsIdAOSHandle = vtkm::cont::ArrayHandleCast<vtkm::Id, Int32AOSHandle>;
69 using Int32AsIdAOSStorage =
typename Int32AsIdAOSHandle::StorageTag;
72 Int32AsIdAOSStorage, Int32AsIdAOSStorage>;
74 vtkm::cont::StorageTagBasic, vtkm::cont::StorageTagBasic>;
77 #else // VTKM_USE_64BIT_IDS 78 using Int64AOSHandle = vtkm::cont::ArrayHandle<vtkm::Int64, vtkm::cont::StorageTagBasic>;
83 vtkm::cont::StorageTagBasic, vtkm::cont::StorageTagBasic>;
88 #endif // VTKM_USE_64BIT_IDS 96 vtkm::cont::CellSetExtrude
100 vtkm::cont::CellSetExplicit<>,
101 vtkm::cont::CellSetSingleType<>,
105 CellSetSingleType64Bit
109 using CellListAllInVTK = vtkm::ListAppend<CellListStructuredInVTK, CellListUnstructuredInVTK>;
110 using CellListAllOutVTK = vtkm::ListAppend<CellListStructuredOutVTK, CellListUnstructuredOutVTK>;
112 #ifdef VTKM_ADD_XGC_DEFAULT_TYPES 113 using StorageListField = vtkm::ListAppend<
114 vtkm::cont::StorageListCommon,
115 vtkm::List<vtkm::cont::StorageTagXGCCoordinates>>;
120 #define VTKM_DEFAULT_TYPE_LIST ::tovtkm::FieldTypeInVTK 121 #define VTKM_DEFAULT_CELL_SET_LIST_STRUCTURED ::tovtkm::CellListStructuredInVTK 122 #define VTKM_DEFAULT_CELL_SET_LIST_UNSTRUCTURED ::tovtkm::CellListUnstructuredInVTK 124 #ifdef VTKM_ADD_XGC_DEFAULT_TYPES 125 #define VTKM_DEFAULT_STORAGE_LIST ::tovtkm::StorageListField 128 #endif //vtk_m_cont_internal_DefaultTypesVTK_h vtkm::cont::ArrayHandle< vtkm::Int64, vtkm::cont::StorageTagBasic > Int64AOSHandle
vtkm::cont::CellSetExplicit< vtkm::cont::StorageTagBasic, vtkm::cont::StorageTagBasic, vtkm::cont::StorageTagBasic > CellSetExplicit32Bit
vtkm::List< signed char, unsigned char, short, unsigned short, int, unsigned int, long long, unsigned long long, float, double, char, long, unsigned long > VTKScalarTypes
vtkm::List< vtkm::Vec< vtkm::Vec< vtkm::Float32, 3 >, 3 >, vtkm::Vec< vtkm::Vec< vtkm::Float64, 3 >, 3 > > SpecialGradientOutTypes
vtkm::List< CellSetExplicit32Bit, CellSetExplicit64Bit, CellSetSingleType32Bit, CellSetSingleType64Bit, vtkm::cont::CellSetExtrude > CellListUnstructuredInVTK
vtkm::ListAppend< CellListStructuredOutVTK, CellListUnstructuredOutVTK > CellListAllOutVTK
vtkm::cont::ArrayHandleCast< vtkm::Id, Int64AOSHandle > Int64AsIdAOSHandle
vtkm::cont::CellSetSingleType< vtkm::cont::StorageTagBasic > CellSetSingleType32Bit
vtkm::List< vtkm::cont::CellSetStructured< 3 >, vtkm::cont::CellSetStructured< 2 >, vtkm::cont::CellSetStructured< 1 > > CellListStructuredInVTK
vtkm::ListAppend< vtkm::TypeListVecCommon, VTKScalarTypes > FieldTypeInVTK
vtkm::cont::CellSetExplicit< vtkm::cont::StorageTagBasic, Int64AsIdAOSStorage, Int64AsIdAOSStorage > CellSetExplicit64Bit
CellListStructuredInVTK CellListStructuredOutVTK
vtkm::ListAppend< vtkm::TypeListVecCommon, SpecialGradientOutTypes, VTKScalarTypes > FieldTypeOutVTK
vtkm::ListAppend< CellListStructuredInVTK, CellListUnstructuredInVTK > CellListAllInVTK
vtkm::cont::CellSetSingleType< Int64AsIdAOSStorage > CellSetSingleType64Bit
vtkm::List< vtkm::cont::CellSetExplicit<>, vtkm::cont::CellSetSingleType<>, CellSetExplicit32Bit, CellSetExplicit64Bit, CellSetSingleType32Bit, CellSetSingleType64Bit > CellListUnstructuredOutVTK
typename Int64AsIdAOSHandle::StorageTag Int64AsIdAOSStorage