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
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
#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)
Checks that the given type is a vtkm::cont::ArrayHandle.
Definition: ArrayHandle.h:137
ExecObjectType operator()(ContObjectType &object, const InputDomainType &, vtkm::Id, vtkm::Id outputRange, vtkm::cont::Token &token) const
Definition: TransportTagArrayInOut.h:57
#define VTKM_CONT
Definition: ExportMacros.h:57
vtkm::Int64 Id
Base type to use to index arrays.
Definition: Types.h:227
#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