Go to the documentation of this file.
54 #ifndef vtk_m_worklet_contourtree_augmented_active_graph_transfer_regular_points_worklet_h
55 #define vtk_m_worklet_contourtree_augmented_active_graph_transfer_regular_points_worklet_h
65 namespace contourtree_augmented
67 namespace active_graph_inc
76 WholeArrayIn hyperarcs,
77 WholeArrayOut outdegree);
94 template <
typename InFieldPortalType,
typename OutFieldPortalType>
97 const InFieldPortalType& hyperarcsPortal,
98 const OutFieldPortalType& outdegreePortal)
const
102 vtkm::Id hyperarcId = hyperarcsPortal.Get(vertexId);
115 if (
IsJoinGraph ? (saddleId < vertexId) : (saddleId > vertexId))
121 outdegreePortal.Set(vertexId, 0);
VTKM_EXEC_CONT bool IsHypernode(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:115
#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
_1 InputDomain
Definition: TransferRegularPointsWorklet.h:79
void ExecutionSignature(_1, InputIndex, _2, _3)
Definition: TransferRegularPointsWorklet.h:78
void ControlSignature(FieldIn activeVertices, WholeArrayIn hyperarcs, WholeArrayOut outdegree)
Definition: TransferRegularPointsWorklet.h:75
VTKM_EXEC_CONT TransferRegularPointsWorklet()
Definition: TransferRegularPointsWorklet.h:83
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
bool IsJoinGraph
Definition: TransferRegularPointsWorklet.h:157
A control signature tag for input fields.
Definition: WorkletMapField.h:49
Definition: TransferRegularPointsWorklet.h:72
VTKM_EXEC_CONT TransferRegularPointsWorklet(bool joinGraph)
Definition: TransferRegularPointsWorklet.h:89
VTKM_EXEC void operator()(const vtkm::Id &vertexId, const vtkm::Id, const InFieldPortalType &hyperarcsPortal, const OutFieldPortalType &outdegreePortal) const
Definition: TransferRegularPointsWorklet.h:95
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38