VTK-m  2.2
List of all members
vtkm::worklet::WorkletVisitPointsWithCells::OutputIndex Struct Reference

The ExecutionSignature tag to use to get the output index. More...

#include <WorkletMapTopology.h>

Inheritance diagram for vtkm::worklet::WorkletVisitPointsWithCells::OutputIndex:
vtkm::exec::arg::OutputIndex vtkm::exec::arg::ExecutionSignatureTagBase

Additional Inherited Members

- Public Types inherited from vtkm::exec::arg::OutputIndex
using AspectTag = vtkm::exec::arg::AspectTagOutputIndex
 
- Static Public Attributes inherited from vtkm::exec::arg::OutputIndex
static constexpr vtkm::IdComponent INDEX = 1
 

Detailed Description

The ExecutionSignature tag to use to get the output index.

This tag produces a vtkm::Id that identifies the index of the output element. (This is generally the same as WorkIndex.)

When a worklet is dispatched, it broken into pieces defined by the output domain and scheduled on independent threads. This tag in the ExecutionSignature passes the index of the output element that the work thread is currently working on. When a worklet has a scatter associated with it, the output and output indices can be different.


The documentation for this struct was generated from the following file: