#include <ThreadIndicesExtrude.h>
|
VTKM_SUPPRESS_EXEC_WARNINGS VTKM_EXEC | ThreadIndicesTopologyMap (vtkm::Id &threadIndex, vtkm::Id inputIndex, vtkm::IdComponent visitIndex, vtkm::Id 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 inputIndex, vtkm::IdComponent visitIndex, vtkm::Id outputIndex, 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 input indices of the "from" elements. More...
|
|
const VTKM_EXEC IndicesIncidentType * | GetIndicesIncidentPointer () const |
| The input indices of the "from" elements in pointer form. More...
|
|
VTKM_EXEC CellShapeTag | GetCellShape () const |
| The shape of the input cell. More...
|
|
◆ CellShapeTag
template<typename ScatterAndMaskMode >
◆ Connectivity
template<typename ScatterAndMaskMode >
◆ ConnectivityType
template<typename ScatterAndMaskMode >
◆ IndicesIncidentType
template<typename ScatterAndMaskMode >
◆ LogicalIndexType
template<typename ScatterAndMaskMode >
◆ ThreadIndicesTopologyMap() [1/3]
template<typename ScatterAndMaskMode >
◆ ThreadIndicesTopologyMap() [2/3]
template<typename ScatterAndMaskMode >
◆ ThreadIndicesTopologyMap() [3/3]
template<typename ScatterAndMaskMode >
◆ GetCellShape()
template<typename ScatterAndMaskMode >
The shape of the input cell.
In topology maps that map from points to something, the indices make up the structure of a cell. Although the shape tag is not technically and index, it defines the meaning of the indices, so we put it here. (That and this class is the only convenient place to store it.)
◆ GetIndexLogical()
template<typename ScatterAndMaskMode >
The logical index into the input domain.
This is similar to GetIndex3D
except the Vec size matches the actual dimensions of the data.
◆ GetIndicesIncident()
template<typename ScatterAndMaskMode >
The input indices of the "from" elements.
A topology map has "from" and "to" elements (for example from points to cells). For each worklet invocation, there is exactly one "to" element, but can be several "from" element. This method returns a Vec-like object containing the indices to the "from" elements.
◆ GetIndicesIncidentPointer()
template<typename ScatterAndMaskMode >
The input indices of the "from" elements in pointer form.
Returns the same object as GetIndicesFrom 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.
◆ GetInputIndex()
template<typename ScatterAndMaskMode >
The index into the input domain.
This index refers to the input element (array value, cell, etc.) that this thread is being invoked for. This is the typical index used during fetches.
◆ GetInputIndex3D()
template<typename ScatterAndMaskMode >
The 3D index into the input domain.
Overloads the implementation in the base class to return the 3D index for the input.
◆ GetOutputIndex()
template<typename ScatterAndMaskMode >
The index into the output domain.
This index refers to the output element (array value, cell, etc.) that this thread is creating. This is the typical index used during Fetch::Store.
◆ GetThreadIndex()
template<typename ScatterAndMaskMode >
The index of the thread or work invocation.
This index refers to which instance of the worklet is being invoked. Every invocation of the worklet has a unique thread index. This is also called the work index depending on the context.
◆ GetVisitIndex()
template<typename ScatterAndMaskMode >
The visit index.
When multiple output indices have the same input index, they are distinguished using the visit index.
◆ IndicesIncident
template<typename ScatterAndMaskMode >
◆ InputIndex
template<typename ScatterAndMaskMode >
◆ LogicalIndex
template<typename ScatterAndMaskMode >
◆ OutputIndex
template<typename ScatterAndMaskMode >
◆ ThreadIndex
template<typename ScatterAndMaskMode >
◆ VisitIndex
template<typename ScatterAndMaskMode >
The documentation for this class was generated from the following file: