Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_tree_grafter_find_critical_points_find_saddles_worklet_h
54 #define vtk_m_worklet_contourtree_distributed_tree_grafter_find_critical_points_find_saddles_worklet_h
64 namespace contourtree_distributed
66 namespace tree_grafter
76 WholeArrayIn interiorForstIsNecessary,
77 WholeArrayIn upNeighbour,
78 WholeArrayIn downNeighbour,
79 WholeArrayOut supernodeType
89 template <
typename InFieldPortalType,
typename OutFieldPortalType>
91 const InFieldPortalType& isNecessaryPortal,
92 const InFieldPortalType& upNeighbourPortal,
93 const InFieldPortalType& downNeighbourPortal,
94 const OutFieldPortalType& supernodeTypePortal)
const
103 if (!isNecessaryPortal.Get(lowEnd) && (upNeighbourPortal.Get(lowEnd) != highEnd))
109 if (!isNecessaryPortal.Get(highEnd) && (downNeighbourPortal.Get(highEnd) != lowEnd))
#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
VTKM_EXEC_CONT FindCriticalPointsFindSaddlesWorklet()
Definition: FindCriticalPointsFindSaddlesWorklet.h:87
constexpr vtkm::Id IS_SADDLE
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:86
Definition: FindCriticalPointsFindSaddlesWorklet.h:70
VTKM_EXEC void operator()(const vtkm::worklet::contourtree_augmented::EdgePair &activeSuperarc, const InFieldPortalType &isNecessaryPortal, const InFieldPortalType &upNeighbourPortal, const InFieldPortalType &downNeighbourPortal, const OutFieldPortalType &supernodeTypePortal) const
Definition: FindCriticalPointsFindSaddlesWorklet.h:90
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
_1 InputDomain
Definition: FindCriticalPointsFindSaddlesWorklet.h:83
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 interiorForstIsNecessary, WholeArrayIn upNeighbour, WholeArrayIn downNeighbour, WholeArrayOut supernodeType) ControlSignature
Definition: FindCriticalPointsFindSaddlesWorklet.h:80
void(_1, _2, _3, _4, _5) ExecutionSignature
Definition: FindCriticalPointsFindSaddlesWorklet.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