Go to the documentation of this file.
10 #ifndef vtk_m_cont_arg_TransportTagTopologyFieldIn_h
11 #define vtk_m_cont_arg_TransportTagTopologyFieldIn_h
35 template <
typename TopologyElementTag>
73 template <
typename TopologyElementTag,
typename ContObjectType,
typename Device>
82 std::declval<ContObjectType>().PrepareForInput(Device(), std::declval<vtkm::cont::Token&>()));
91 if (
object.GetNumberOfValues() != detail::TopologyDomainSize(inputDomain, TopologyElementTag()))
96 return object.PrepareForInput(Device(), token);
103 #endif //vtk_m_cont_arg_TransportTagTopologyFieldIn_h
A tag used to identify the point elements in a topology.
Definition: TopologyElementTag.h:34
A tag used to identify the face elements in a topology.
Definition: TopologyElementTag.h:54
Groups connected points that have the same field value.
Definition: Atomic.h:19
Transport tag for input arrays in topology maps.
Definition: TransportTagTopologyFieldIn.h:36
A tag used to identify the edge elements in a topology.
Definition: TopologyElementTag.h:44
VTKM_CONT ExecObjectType operator()(const ContObjectType &object, const vtkm::cont::CellSet &inputDomain, vtkm::Id, vtkm::Id, vtkm::cont::Token &token) const
Definition: TransportTagTopologyFieldIn.h:85
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
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
virtual vtkm::Id GetNumberOfPoints() const =0
virtual vtkm::Id GetNumberOfCells() const =0
decltype(std::declval< ContObjectType >().PrepareForInput(Device(), std::declval< vtkm::cont::Token & >())) ExecObjectType
Definition: TransportTagTopologyFieldIn.h:82
#define VTKM_CONT
Definition: ExportMacros.h:57
This class is thrown when a VTKm function or method encounters an invalid value that inhibits progres...
Definition: ErrorBadValue.h:25
virtual vtkm::Id GetNumberOfFaces() const =0
Class for transporting from the control to the execution environment.
Definition: Transport.h:38
A tag used to identify the cell elements in a topology.
Definition: TopologyElementTag.h:24
virtual vtkm::Id GetNumberOfEdges() const =0