Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_tree_grafter_find_critical_points_find_leafs_worklet_h
54 #define vtk_m_worklet_contourtree_distributed_tree_grafter_find_critical_points_find_leafs_worklet_h
64 namespace contourtree_distributed
66 namespace tree_grafter
76 WholeArrayIn interiorForstIsNecessary,
77 WholeArrayIn upNeighbour,
78 WholeArrayIn downNeighbour,
79 WholeArrayInOut supernodeType
89 template <
typename InFieldPortalType,
typename InOutFieldPortalType>
91 const InFieldPortalType& isNecessaryPortal,
92 const InFieldPortalType& upNeighbourPortal,
93 const InFieldPortalType& downNeighbourPortal,
94 const InOutFieldPortalType& supernodeTypePortal)
const
104 if ((supernodeTypePortal.Get(lowEnd) !=
106 (upNeighbourPortal.Get(lowEnd) == highEnd) &&
108 (!isNecessaryPortal.Get(lowEnd)))
110 supernodeTypePortal.Set(lowEnd,
115 if ((supernodeTypePortal.Get(highEnd) !=
117 (downNeighbourPortal.Get(highEnd) == lowEnd) &&
119 (!isNecessaryPortal.Get(highEnd)))
121 supernodeTypePortal.Set(highEnd,
Definition: FindCriticalPointsFindLeafsWorklet.h:70
#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 IS_SADDLE
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:86
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 &isNecessaryPortal, const InFieldPortalType &upNeighbourPortal, const InFieldPortalType &downNeighbourPortal, const InOutFieldPortalType &supernodeTypePortal) const
Definition: FindCriticalPointsFindLeafsWorklet.h:90
VTKM_EXEC_CONT bool NoSuchElement(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:97
A control signature tag for input fields.
Definition: WorkletMapField.h:49
FirstType first
The pair's first object.
Definition: Pair.h:50
constexpr vtkm::Id IS_LOWER_LEAF
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:83
constexpr vtkm::Id IS_UPPER_LEAF
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:84
_1 InputDomain
Definition: FindCriticalPointsFindLeafsWorklet.h:83
void(FieldIn activeSuperarcs, WholeArrayIn interiorForstIsNecessary, WholeArrayIn upNeighbour, WholeArrayIn downNeighbour, WholeArrayInOut supernodeType) ControlSignature
Definition: FindCriticalPointsFindLeafsWorklet.h:80
VTKM_EXEC_CONT FindCriticalPointsFindLeafsWorklet()
Definition: FindCriticalPointsFindLeafsWorklet.h:87
void(_1, _2, _3, _4, _5) ExecutionSignature
Definition: FindCriticalPointsFindLeafsWorklet.h:82
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