Go to the documentation of this file.
10 #ifndef vtk_m_cont_arg_TransportTagArrayInOut_h
11 #define vtk_m_cont_arg_TransportTagArrayInOut_h
37 template <
typename ContObjectType,
typename Device>
54 std::declval<ContObjectType>().PrepareForInPlace(Device(), std::declval<vtkm::cont::Token&>()));
56 template <
typename InputDomainType>
63 if (
object.GetNumberOfValues() != outputRange)
68 return object.PrepareForInPlace(Device(), token);
79 #endif //vtk_m_cont_arg_TransportTagArrayInOut_h
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_CONT ExecObjectType operator()(ContObjectType &object, const InputDomainType &vtkmNotUsed(inputDomain), vtkm::Id vtkmNotUsed(inputRange), vtkm::Id outputRange, vtkm::cont::Token &token) const
Definition: TransportTagArrayInOut.h:57
decltype(std::declval< ContObjectType >().PrepareForInPlace(Device(), std::declval< vtkm::cont::Token & >())) ExecObjectType
Definition: TransportTagArrayInOut.h:54
Transport tag for in-place arrays.
Definition: TransportTagArrayInOut.h:33
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
#define VTKM_DEPRECATED_SUPPRESS_END
Definition: Deprecated.h:123
A token to hold the scope of an ArrayHandle or other object.
Definition: Token.h:35
#define VTKM_IS_ARRAY_HANDLE(T)
Definition: ArrayHandle.h:132
#define VTKM_CONT
Definition: ExportMacros.h:57
#define vtkmNotUsed(parameter_name)
Simple macro to identify a parameter as unused.
Definition: ExportMacros.h:128
#define VTKM_DEPRECATED_SUPPRESS_BEGIN
Definition: Deprecated.h:122
This class is thrown when a VTKm function or method encounters an invalid value that inhibits progres...
Definition: ErrorBadValue.h:25
Class for transporting from the control to the execution environment.
Definition: Transport.h:38