Go to the documentation of this file.
11 #ifndef vtk_m_exec_ConnectivityPermuted_h
12 #define vtk_m_exec_ConnectivityPermuted_h
24 template <
typename PermutationPortal,
typename OriginalConnectivity>
34 const OriginalConnectivity& src)
66 using IndicesType =
typename OriginalConnectivity::IndicesType;
68 template <
typename IndexType>
78 template <
typename ConnectivityPortalType,
typename OffsetPortalType>
89 const OffsetPortalType& offsets)
123 #endif //vtk_m_exec_ConnectivityPermuted_h
VTKM_EXEC vtkm::IdComponent GetNumberOfIndices(vtkm::Id index) const
Definition: ConnectivityPermuted.h:101
VTKM_EXEC vtkm::Id GetNumberOfElements() const
Definition: ConnectivityPermuted.h:49
VTKM_EXEC CellShapeTag GetCellShape(vtkm::Id index) const
Definition: ConnectivityPermuted.h:54
VTKM_EXEC IndicesType GetIndices(vtkm::Id index) const
Definition: ConnectivityPermuted.h:108
OffsetPortalType Offsets
Definition: ConnectivityPermuted.h:118
VTKM_EXEC CellShapeTag GetCellShape(vtkm::Id) const
Definition: ConnectivityPermuted.h:98
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
ConnectivityPermutedVisitPointsWithCells()=default
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
vtkm::Int32 IdComponent
Represents a component ID (index of component in a vector).
Definition: Types.h:168
VTKM_EXEC SchedulingRangeType GetNumberOfElements() const
Definition: ConnectivityPermuted.h:96
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
ConnectivityPermutedVisitCellsWithPoints & operator=(const ConnectivityPermutedVisitCellsWithPoints &src)=default
vtkm::Id SchedulingRangeType
Definition: ConnectivityPermuted.h:82
typename OriginalConnectivity::IndicesType IndicesType
Definition: ConnectivityPermuted.h:66
VTKM_EXEC IndicesType GetIndices(const IndexType &index) const
Definition: ConnectivityPermuted.h:69
ConnectivityPermutedVisitPointsWithCells(const ConnectivityPortalType &connectivity, const OffsetPortalType &offsets)
Definition: ConnectivityPermuted.h:88
OriginalConnectivity Connectivity
Definition: ConnectivityPermuted.h:75
vtkm::VecFromPortal< ConnectivityPortalType > IndicesType
Definition: ConnectivityPermuted.h:83
ConnectivityPermutedVisitCellsWithPoints()=default
Definition: ConnectivityPermuted.h:79
vtkm::CellShapeTagVertex CellShapeTag
Definition: ConnectivityPermuted.h:84
typename OriginalConnectivity::SchedulingRangeType SchedulingRangeType
Definition: ConnectivityPermuted.h:28
VTKM_EXEC_CONT ConnectivityPermutedVisitCellsWithPoints(const PermutationPortal &portal, const OriginalConnectivity &src)
Definition: ConnectivityPermuted.h:33
VTKM_EXEC vtkm::IdComponent GetNumberOfIndices(vtkm::Id index) const
Definition: ConnectivityPermuted.h:61
PermutationPortal Portal
Definition: ConnectivityPermuted.h:74
A short variable-length array from a window in an ArrayPortal.
Definition: VecFromPortal.h:29
ConnectivityPortalType Connectivity
Definition: ConnectivityPermuted.h:117
Definition: ConnectivityPermuted.h:25
typename OriginalConnectivity::CellShapeTag CellShapeTag
Definition: ConnectivityPermuted.h:51