Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_bract_maker_compress_regularised_nodes_resolve_root_worklet_h
54 #define vtk_m_worklet_contourtree_distributed_bract_maker_compress_regularised_nodes_resolve_root_worklet_h
63 namespace contourtree_distributed
73 WholeArrayInOut newSuperarc
82 template <
typename InOutFieldPortalType>
84 const InOutFieldPortalType& newSuperarcPortal)
const
88 vtkm::Id newInbound = newSuperarcPortal.Get(newIndex);
97 if (newSuperarcPortal.Get(newInbound) != newIndex)
103 if (newIndex < newInbound)
105 newSuperarcPortal.Set(newIndex,
#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
Step 1 of IdentifyRegularisedSupernodes.
Definition: CompressRegularisedNodesResolveRootWorklet.h:69
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
void(FieldIn newIndex, WholeArrayInOut newSuperarc) ControlSignature
Definition: CompressRegularisedNodesResolveRootWorklet.h:74
void(_1, _2) ExecutionSignature
Definition: CompressRegularisedNodesResolveRootWorklet.h:75
A control signature tag for input fields.
Definition: WorkletMapField.h:49
_1 InputDomain
Definition: CompressRegularisedNodesResolveRootWorklet.h:76
VTKM_EXEC void operator()(const vtkm::Id &newIndex, const InOutFieldPortalType &newSuperarcPortal) const
Definition: CompressRegularisedNodesResolveRootWorklet.h:83
VTKM_EXEC_CONT CompressRegularisedNodesResolveRootWorklet()
Definition: CompressRegularisedNodesResolveRootWorklet.h:80
constexpr vtkm::Id NO_SUCH_ELEMENT
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:73
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38