Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_augmented_active_graph_build_chains_worklet_h
54 #define vtk_m_worklet_contourtree_augmented_active_graph_build_chains_worklet_h
63 namespace contourtree_augmented
65 namespace active_graph_inc
73 WholeArrayInOut hyperarcs);
81 template <
typename InOutFieldPortalType>
84 const InOutFieldPortalType& hyperarcsPortal)
const
87 vtkm::Id neighbour = hyperarcsPortal.Get(vertexId);
98 vtkm::Id doubleNeighbour = hyperarcsPortal.Get(neighbour);
102 hyperarcsPortal.Set(vertexId, doubleNeighbour | supernodeFlag);
void ControlSignature(FieldIn activeVertices, WholeArrayInOut hyperarcs)
Definition: BuildChainsWorklet.h:72
constexpr vtkm::Id INDEX_MASK
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:78
_1 InputDomain
Definition: BuildChainsWorklet.h:75
#define VTKM_EXEC
Definition: ExportMacros.h:51
VTKM_EXEC_CONT bool IsTerminalElement(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:103
Groups connected points that have the same field value.
Definition: Atomic.h:19
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
void ExecutionSignature(_1, InputIndex, _2)
Definition: BuildChainsWorklet.h:74
VTKM_EXEC_CONT BuildChainsWorklet()
Definition: BuildChainsWorklet.h:79
VTKM_EXEC void operator()(const vtkm::Id &vertexId, const vtkm::Id, const InOutFieldPortalType &hyperarcsPortal) const
Definition: BuildChainsWorklet.h:82
constexpr vtkm::Id TERMINAL_ELEMENT
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:74
VTKM_EXEC_CONT vtkm::Id MaskedIndex(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:127
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
A control signature tag for input fields.
Definition: WorkletMapField.h:49
constexpr vtkm::Id IS_SUPERNODE
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:75
Definition: BuildChainsWorklet.h:69
constexpr vtkm::Id IS_HYPERNODE
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:76
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38