Go to the documentation of this file.
10 #ifndef vtk_m_exec_ConnectivityExplicit_h
11 #define vtk_m_exec_ConnectivityExplicit_h
28 template <
typename ShapesPortalType,
typename ConnectivityPortalType,
typename OffsetsPortalType>
37 const ConnectivityPortalType& connPortal,
38 const OffsetsPortalType& offsetsPortal)
103 #endif // vtk_m_exec_ConnectivityExplicit_h
ShapesPortalType Shapes
Definition: ConnectivityExplicit.h:95
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
vtkm::Int32 IdComponent
Base type to use to index small lists.
Definition: Types.h:194
SchedulingRangeType GetNumberOfElements() const
Provides the number of elements in the topology.
Definition: ConnectivityExplicit.h:51
ConnectivityExplicit(const ShapesPortalType &shapesPortal, const ConnectivityPortalType &connPortal, const OffsetsPortalType &offsetsPortal)
Definition: ConnectivityExplicit.h:36
CellShapeTag GetCellShape(vtkm::Id index) const
Returns a tagfor the cell shape associated with the element at the given index.
Definition: ConnectivityExplicit.h:64
ConnectivityExplicit()
Definition: ConnectivityExplicit.h:34
vtkm::CellShapeTagGeneric CellShapeTag
The tag representing the cell shape of the visited elements.
Definition: ConnectivityExplicit.h:57
vtkm::Id SchedulingRangeType
Definition: ConnectivityExplicit.h:32
vtkm::IdComponent GetNumberOfIndices(vtkm::Id index) const
Given the index of a visited element, returns the number of incident elements touching it.
Definition: ConnectivityExplicit.h:69
A class holding information about topology connections.
Definition: ConnectivityExplicit.h:29
vtkm::Int64 Id
Base type to use to index arrays.
Definition: Types.h:227
A special cell shape tag that holds a cell shape that is not known at compile time.
Definition: CellShape.h:170
OffsetsPortalType Offsets
Definition: ConnectivityExplicit.h:97
A short variable-length array from a window in an ArrayPortal.
Definition: VecFromPortal.h:29
IndicesType GetIndices(vtkm::Id index) const
Provides the indices of all elements incident to the visit element of the provided index.
Definition: ConnectivityExplicit.h:85
vtkm::VecFromPortal< ConnectivityPortalType > IndicesType
Type of variable that lists of incident indices will be put into.
Definition: ConnectivityExplicit.h:75
ConnectivityPortalType Connectivity
Definition: ConnectivityExplicit.h:96