VTK-m  2.2
Public Types | List of all members
vtkm::worklet::WorkletMapField::FieldInOut Struct Reference

A control signature tag for input-output (in-place) fields. More...

#include <WorkletMapField.h>

Inheritance diagram for vtkm::worklet::WorkletMapField::FieldInOut:
vtkm::cont::arg::ControlSignatureTagBase

Public Types

using TypeCheckTag = vtkm::cont::arg::TypeCheckTagArrayInOut
 
using TransportTag = vtkm::cont::arg::TransportTagArrayInOut
 
using FetchTag = vtkm::exec::arg::FetchTagArrayDirectInOut
 

Detailed Description

A control signature tag for input-output (in-place) fields.

A FieldInOut argument expects a vtkm::cont::ArrayHandle in the associated parameter of the invoke. Each invocation of the worklet gets a single value out of this array, which is replaced by the resulting value after the worklet completes.

This tag means that the field is read and write.

The worklet's InputDomain can be set to a FieldInOut argument. In this case, the input domain will be the size of the array.

Member Typedef Documentation

◆ FetchTag

◆ TransportTag

◆ TypeCheckTag


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