Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_tree_grafter_find_critical_points_set_up_down_neighbours_worklet_h
54 #define vtk_m_worklet_contourtree_distributed_tree_grafter_find_critical_points_set_up_down_neighbours_worklet_h
64 namespace contourtree_distributed
66 namespace tree_grafter
76 WholeArrayIn interiorForstIsNecessary,
77 WholeArrayInOut upNeighbour,
78 WholeArrayInOut downNeighbour,
79 WholeArrayInOut supernodeType
89 template <
typename InFieldPortalType,
typename OutFieldPortalType>
91 const InFieldPortalType& isNecessaryPortal,
92 const OutFieldPortalType& upNeighbourPortal,
93 const OutFieldPortalType& downNeighbourPortal,
94 const OutFieldPortalType& supernodeTypePortal)
const
102 upNeighbourPortal.Set(lowEnd, highEnd);
103 downNeighbourPortal.Set(highEnd, lowEnd);
106 vtkm::Id highType = isNecessaryPortal.Get(highEnd)
109 vtkm::Id lowType = isNecessaryPortal.Get(lowEnd)
113 supernodeTypePortal.Set(lowEnd, lowType);
114 supernodeTypePortal.Set(highEnd, highType);
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_EXEC_CONT FindCriticalPointsSetUpDownNeighboursWorklet()
Definition: FindCriticalPointsSetUpDownNeighboursWorklet.h:87
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
void(_1, _2, _3, _4, _5) ExecutionSignature
Definition: FindCriticalPointsSetUpDownNeighboursWorklet.h:82
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
void(FieldIn activeSuperarcs, WholeArrayIn interiorForstIsNecessary, WholeArrayInOut upNeighbour, WholeArrayInOut downNeighbour, WholeArrayInOut supernodeType) ControlSignature
Definition: FindCriticalPointsSetUpDownNeighboursWorklet.h:80
Definition: FindCriticalPointsSetUpDownNeighboursWorklet.h:70
A control signature tag for input fields.
Definition: WorkletMapField.h:49
FirstType first
The pair's first object.
Definition: Pair.h:50
_1 InputDomain
Definition: FindCriticalPointsSetUpDownNeighboursWorklet.h:83
constexpr vtkm::Id IS_REGULAR
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:85
constexpr vtkm::Id IS_ATTACHMENT
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:87
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
VTKM_EXEC void operator()(const vtkm::worklet::contourtree_augmented::EdgePair &activeSuperarc, const InFieldPortalType &isNecessaryPortal, const OutFieldPortalType &upNeighbourPortal, const OutFieldPortalType &downNeighbourPortal, const OutFieldPortalType &supernodeTypePortal) const
Definition: FindCriticalPointsSetUpDownNeighboursWorklet.h:90