Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_augmented_contourtree_maker_inc_transfer_leaf_chains_collapse_past_regular_h
54 #define vtk_m_worklet_contourtree_augmented_contourtree_maker_inc_transfer_leaf_chains_collapse_past_regular_h
63 namespace contourtree_augmented
65 namespace contourtree_maker_inc
75 WholeArrayInOut outbound,
76 WholeArrayInOut inbound
86 template <
typename InOutFieldPortalType>
89 const InOutFieldPortalType& outboundPortal,
90 const InOutFieldPortalType& inboundPortal)
const
92 vtkm::Id outNeighbour = outboundPortal.Get(superID);
93 vtkm::Id inNeighbour = inboundPortal.Get(superID);
97 outboundPortal.Set(superID, outboundPortal.Get(outNeighbour));
101 inboundPortal.Set(superID, inboundPortal.Get(inNeighbour));
#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
VTKM_EXEC void operator()(const vtkm::Id &superID, const vtkm::Id, const InOutFieldPortalType &outboundPortal, const InOutFieldPortalType &inboundPortal) const
Definition: TransferLeafChains_CollapsePastRegular.h:87
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
A control signature tag for input fields.
Definition: WorkletMapField.h:49
void ControlSignature(FieldIn activeSupernodes, WholeArrayInOut outbound, WholeArrayInOut inbound)
Definition: TransferLeafChains_CollapsePastRegular.h:74
Definition: TransferLeafChains_CollapsePastRegular.h:71
void ExecutionSignature(_1, InputIndex, _2, _3)
Definition: TransferLeafChains_CollapsePastRegular.h:78
_1 InputDomain
Definition: TransferLeafChains_CollapsePastRegular.h:79
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38
VTKM_EXEC_CONT TransferLeafChains_CollapsePastRegular()
Definition: TransferLeafChains_CollapsePastRegular.h:84