Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_find_superarc_between_nodes_h
54 #define vtk_m_worklet_contourtree_distributed_find_superarc_between_nodes_h
64 namespace contourtree_distributed
97 return firstSupernode;
103 return secondSupernode;
VTKM_CONT FindSuperArcBetweenNodesDeviceData PrepareForExecution(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Definition: FindSuperArcBetweenNodes.h:127
VTKM_CONT FindSuperArcBetweenNodesDeviceData(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token, const vtkm::worklet::contourtree_augmented::IdArrayType &superarcs)
Definition: FindSuperArcBetweenNodes.h:77
IndicesPortalType SuperarcsPortal
Definition: FindSuperArcBetweenNodes.h:111
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_CONT ReadPortalType PrepareForInput(vtkm::cont::DeviceAdapterId device, vtkm::cont::Token &token) const
Prepares this array to be used as an input to an operation in the execution environment.
Definition: ArrayHandle.h:574
VTKM_EXEC_CONT vtkm::Id MaskedIndex(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:127
vtkm::worklet::contourtree_augmented::IdArrayType Superarcs
Definition: FindSuperArcBetweenNodes.h:134
typename StorageType::ReadPortalType ReadPortalType
Definition: ArrayHandle.h:294
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
typename vtkm::worklet::contourtree_augmented::IdArrayType::ReadPortalType IndicesPortalType
Definition: FindSuperArcBetweenNodes.h:74
#define VTKM_CONT
Definition: ExportMacros.h:57
VTKM_EXEC vtkm::Id FindSuperArcBetweenNodes(vtkm::Id firstSupernode, vtkm::Id secondSupernode) const
Definition: FindSuperArcBetweenNodes.h:91
ExecutionObject to generate a device object to use FindSuperArcBetweenNodes for the HierarchicalConto...
Definition: FindSuperArcBetweenNodes.h:116
Device implementation of FindSuperArcBetweenNodes for the HierarchicalContourTree Used in the hierarc...
Definition: FindSuperArcBetweenNodes.h:70
Base ExecutionObjectBase for execution objects to inherit from so that you can use an arbitrary objec...
Definition: ExecutionObjectBase.h:31
Definition: DeviceAdapterTag.h:52
VTKM_CONT FindSuperArcBetweenNodes(const vtkm::worklet::contourtree_augmented::IdArrayType &superarcs)
constructor
Definition: FindSuperArcBetweenNodes.h:121
constexpr vtkm::Id NO_SUCH_ELEMENT
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:73