Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_augmented_contourtree_maker_inc_find_degrees_find_rhe_h
54 #define vtk_m_worklet_contourtree_augmented_contourtree_maker_inc_find_degrees_find_rhe_h
63 namespace contourtree_augmented
65 namespace contourtree_maker_inc
74 WholeArrayIn inNeighbour,
75 WholeArrayOut upOrDowndegree);
89 template <
typename InFieldPortalType,
typename OutFieldPortalType>
92 const OutFieldPortalType& upOrDownDegreePortal)
const
94 vtkm::Id whichJoinOrSplit = inNeighbourPortal.Get(joinOrSplitIndex);
99 upOrDownDegreePortal.Set(whichJoinOrSplit, joinOrSplitIndex);
100 else if (whichJoinOrSplit != inNeighbourPortal.Get(joinOrSplitIndex + 1))
101 upOrDownDegreePortal.Set(whichJoinOrSplit, joinOrSplitIndex);
void ExecutionSignature(_1, InputIndex, _2)
Definition: FindDegrees_FindRHE.h:77
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
void ControlSignature(WholeArrayIn inNeighbour, WholeArrayOut upOrDowndegree)
Definition: FindDegrees_FindRHE.h:73
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
Definition: FindDegrees_FindRHE.h:70
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
VTKM_EXEC_CONT bool NoSuchElement(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:97
VTKM_EXEC void operator()(const InFieldPortalType &inNeighbourPortal, const vtkm::Id joinOrSplitIndex, const OutFieldPortalType &upOrDownDegreePortal) const
Definition: FindDegrees_FindRHE.h:90
vtkm::Id nActiveSupernodes
Definition: FindDegrees_FindRHE.h:80
VTKM_EXEC_CONT FindDegrees_FindRHE(vtkm::Id numActiveSupernodes)
Definition: FindDegrees_FindRHE.h:84
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38
_1 InputDomain
Definition: FindDegrees_FindRHE.h:78