A class holding information about topology connections.
More...
#include <ConnectivityExplicit.h>
template<typename ShapesPortalType, typename ConnectivityPortalType, typename OffsetsPortalType>
class vtkm::exec::ConnectivityExplicit< ShapesPortalType, ConnectivityPortalType, OffsetsPortalType >
A class holding information about topology connections.
An object of ConnectivityExplicit
is provided to a worklet when the ControlSignature
argument is WholeCellSetIn
and the vtkm::cont::CellSet
provided is a vtkm::cont::CellSetExplicit
.
◆ CellShapeTag
template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
The tag representing the cell shape of the visited elements.
The tag type is allways vtkm::CellShapeTagGeneric
and its id is filled with the identifier for the appropriate shape.
◆ IndicesType
template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
Type of variable that lists of incident indices will be put into.
◆ SchedulingRangeType
template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
◆ ConnectivityExplicit() [1/2]
template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
◆ ConnectivityExplicit() [2/2]
template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
◆ GetCellShape()
template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
Returns a tagfor the cell shape associated with the element at the given index.
The tag type is allways vtkm::CellShapeTagGeneric
and its id is filled with the identifier for the appropriate shape.
◆ GetIndices()
template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
Provides the indices of all elements incident to the visit element of the provided index.
Returns a Vec-like object containing the indices for the given index. The object returned is not an actual array, but rather an object that loads the indices lazily out of the connectivity array. This prevents us from having to know the number of indices at compile time.
◆ GetNumberOfElements()
template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
Provides the number of elements in the topology.
This number of elements is associated with the "visit" type of topology element, which is the first template argument to WholeCellSetIn
. The number of elements defines the valid indices for the other methods of this class.
◆ GetNumberOfIndices()
template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
Given the index of a visited element, returns the number of incident elements touching it.
◆ Connectivity
template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
◆ Offsets
template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
◆ Shapes
template<typename ShapesPortalType , typename ConnectivityPortalType , typename OffsetsPortalType >
The documentation for this class was generated from the following file: