Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_tree_grafter_find_critical_points_find_terminal_elements_worklet_h
54 #define vtk_m_worklet_contourtree_distributed_tree_grafter_find_critical_points_find_terminal_elements_worklet_h
64 namespace contourtree_distributed
66 namespace tree_grafter
76 WholeArrayIn supernodeType,
77 WholeArrayInOut upNeighbour,
78 WholeArrayInOut downNeighbour
88 template <
typename InFieldPortalType,
typename InOutFieldPortalType>
90 const InFieldPortalType& supernodeTypePortal,
91 const InOutFieldPortalType& upNeighbourPortal,
92 const InOutFieldPortalType& downNeighbourPortal
101 if ((upNeighbourPortal.Get(lowEnd) == highEnd) &&
104 upNeighbourPortal.Set(lowEnd,
105 upNeighbourPortal.Get(lowEnd) |
109 if ((downNeighbourPortal.Get(highEnd) == lowEnd) &&
112 downNeighbourPortal.Set(highEnd,
113 downNeighbourPortal.Get(highEnd) |
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
constexpr vtkm::Id TERMINAL_ELEMENT
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:74
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
VTKM_EXEC void operator()(const vtkm::worklet::contourtree_augmented::EdgePair &activeSuperarc, const InFieldPortalType &supernodeTypePortal, const InOutFieldPortalType &upNeighbourPortal, const InOutFieldPortalType &downNeighbourPortal) const
Definition: FindCriticalPointsFindTerminalElementsWorklet.h:89
_1 InputDomain
Definition: FindCriticalPointsFindTerminalElementsWorklet.h:82
A control signature tag for input fields.
Definition: WorkletMapField.h:49
FirstType first
The pair's first object.
Definition: Pair.h:50
void(FieldIn activeSuperarcs, WholeArrayIn supernodeType, WholeArrayInOut upNeighbour, WholeArrayInOut downNeighbour) ControlSignature
Definition: FindCriticalPointsFindTerminalElementsWorklet.h:79
void(_1, _2, _3, _4) ExecutionSignature
Definition: FindCriticalPointsFindTerminalElementsWorklet.h:81
constexpr vtkm::Id IS_REGULAR
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:85
VTKM_EXEC_CONT FindCriticalPointsFindTerminalElementsWorklet()
Definition: FindCriticalPointsFindTerminalElementsWorklet.h:86
A vtkm::Pair is essentially the same as an STL pair object except that the methods (constructors and ...
Definition: Pair.h:29
SecondType second
The pair's second object.
Definition: Pair.h:55
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38
Definition: FindCriticalPointsFindTerminalElementsWorklet.h:70