Go to the documentation of this file.
46 #ifndef vtk_m_filter_scalar_topology_worklet_branch_decomposition_hierarchical_volumetric_branch_decomposer_FindBestSupernodeWorklet_h
47 #define vtk_m_filter_scalar_topology_worklet_branch_decomposition_hierarchical_volumetric_branch_decomposer_FindBestSupernodeWorklet_h
55 namespace scalar_topology
57 namespace hierarchical_volumetric_branch_decomposer
63 template <
bool tieBreakGreaterThan>
80 if ((incomingBestVolume > bestVolume) ||
82 ((incomingBestVolume == bestVolume) &&
83 (tieBreakGreaterThan ? (incomingBestSupernode > bestSupernode)
84 : (incomingBestSupernode < bestSupernode))))
86 bestVolume = incomingBestVolume;
87 bestSupernode = incomingBestSupernode;
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
VTKM_EXEC void operator()(vtkm::Id incomingBestVolume, vtkm::Id incomingBestSupernode, vtkm::Id &bestVolume, vtkm::Id &bestSupernode) const
Definition: FindBestSupernodeWorklet.h:73
Definition: FindBestSupernodeWorklet.h:64
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
A control signature tag for input fields.
Definition: WorkletMapField.h:49
void(FieldIn incomingBestVolume, FieldIn incomingBestSupernode, FieldInOut bestVolume, FieldInOut bestSupernode) ControlSignature
Definition: FindBestSupernodeWorklet.h:70
A control signature tag for input-output (in-place) fields.
Definition: WorkletMapField.h:71
void(_1, _2, _3, _4) ExecutionSignature
Definition: FindBestSupernodeWorklet.h:71
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38