Go to the documentation of this file.
54 #ifndef vtk_m_worklet_contourtree_augmented_active_graph_build_trunk_worklet_h
55 #define vtk_m_worklet_contourtree_augmented_active_graph_build_trunk_worklet_h
64 namespace contourtree_augmented
66 namespace active_graph_inc
74 WholeArrayInOut hyperarcs);
82 template <
typename InOutFieldPortalType>
85 const InOutFieldPortalType& hyperarcsPortal)
const
88 vtkm::Id hypernode = hyperarcsPortal.Get(vertexId);
94 if (vertexId == hypernodeId)
100 hyperarcsPortal.Set(vertexId, hypernodeId | supernodeFlag);
#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 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
void ExecutionSignature(_1, InputIndex, _2)
Definition: BuildTrunkWorklet.h:75
_1 InputDomain
Definition: BuildTrunkWorklet.h:76
void ControlSignature(FieldIn activeVertices, WholeArrayInOut hyperarcs)
Definition: BuildTrunkWorklet.h:73
VTKM_EXEC void operator()(const vtkm::Id &vertexId, const vtkm::Id, const InOutFieldPortalType &hyperarcsPortal) const
Definition: BuildTrunkWorklet.h:83
Definition: BuildTrunkWorklet.h:70
constexpr vtkm::Id NO_SUCH_ELEMENT
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:73
constexpr vtkm::Id IS_HYPERNODE
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:76
VTKM_EXEC_CONT BuildTrunkWorklet()
Definition: BuildTrunkWorklet.h:80
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38