|
VTKM_EXEC | ThreadIndicesTopologyMap (vtkm::Id threadIndex, vtkm::Id inputIndex, vtkm::IdComponent vtkmNotUsed(visitIndex), vtkm::Id vtkmNotUsed(outputIndex), const ConnectivityType &connectivity) |
|
VTKM_EXEC | ThreadIndicesTopologyMap (const vtkm::Id3 &threadIndex3D, vtkm::Id threadIndex1D, const ConnectivityType &connectivity) |
|
VTKM_EXEC | ThreadIndicesTopologyMap (const vtkm::Id3 &threadIndex3D, vtkm::Id threadIndex1D, vtkm::Id vtkmNotUsed(inIndex), vtkm::IdComponent vtkmNotUsed(visitIndex), vtkm::Id vtkmNotUsed(outIndex), const ConnectivityType &connectivity) |
|
VTKM_EXEC vtkm::Id | GetThreadIndex () const |
| The index of the thread or work invocation. More...
|
|
VTKM_EXEC LogicalIndexType | GetIndexLogical () const |
| The logical index into the input domain. More...
|
|
VTKM_EXEC vtkm::Id | GetInputIndex () const |
| The index into the input domain. More...
|
|
VTKM_EXEC vtkm::Id3 | GetInputIndex3D () const |
| The 3D index into the input domain. More...
|
|
VTKM_EXEC vtkm::Id | GetOutputIndex () const |
| The index into the output domain. More...
|
|
VTKM_EXEC vtkm::IdComponent | GetVisitIndex () const |
| The visit index. More...
|
|
const VTKM_EXEC IndicesIncidentType & | GetIndicesIncident () const |
| The indices of the incident elements. More...
|
|
const VTKM_EXEC IndicesIncidentType * | GetIndicesIncidentPointer () const |
| The input indices of the incident elements in pointer form. More...
|
|
VTKM_EXEC CellShapeTag | GetCellShape () const |
| The shape of the input cell. More...
|
|
template<typename VisitTopology, typename IncidentTopology, vtkm::IdComponent Dimension>
class vtkm::exec::arg::ThreadIndicesTopologyMap< vtkm::exec::ConnectivityStructured< VisitTopology, IncidentTopology, Dimension >, DefaultScatterAndMaskTag >
Specialization for DefaultScatterAndMaskTag.
It does not store VisitIndex, InputIndex and OutputIndex since this is used only when Scatter is set as ScatterIdentity and Mask is set as MaskNone which does not performs any transformation onto the indices.
template<typename VisitTopology , typename IncidentTopology , vtkm::IdComponent Dimension>
The indices of the incident elements.
A topology map has "visited" and "incident" elements (e.g. points, cells, etc). For each worklet invocation, there is exactly one visited element, but there can be several incident elements. This method returns a Vec-like object containing the indices to the incident elements.
template<typename VisitTopology , typename IncidentTopology , vtkm::IdComponent Dimension>
The input indices of the incident elements in pointer form.
Returns the same object as GetIndicesIncident except that it returns a pointer to the internally held object rather than a reference or copy. Since the from indices can be a sizeable Vec (8 entries is common), it is best not to have a bunch a copies. Thus, you can pass around a pointer instead. However, care should be taken to make sure that this object does not go out of scope, at which time the returned pointer becomes invalid.