VTK-m
2.2
|
A control signature tag for input-output (in-place) fields. More...
#include <WorkletMapField.h>
Public Types | |
using | TypeCheckTag = vtkm::cont::arg::TypeCheckTagArrayInOut |
using | TransportTag = vtkm::cont::arg::TransportTagArrayInOut |
using | FetchTag = vtkm::exec::arg::FetchTagArrayDirectInOut |
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.
using vtkm::worklet::WorkletMapField::FieldInOut::FetchTag = vtkm::exec::arg::FetchTagArrayDirectInOut |
using vtkm::worklet::WorkletMapField::FieldInOut::TransportTag = vtkm::cont::arg::TransportTagArrayInOut |
using vtkm::worklet::WorkletMapField::FieldInOut::TypeCheckTag = vtkm::cont::arg::TypeCheckTagArrayInOut |