Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_bract_maker_pointer_double_up_down_neighbours_worklet_h
54 #define vtk_m_worklet_contourtree_distributed_bract_maker_pointer_double_up_down_neighbours_worklet_h
63 namespace contourtree_distributed
73 WholeArrayInOut downNeighbour
82 template <
typename InOutFieldPortalType>
84 const InOutFieldPortalType& upNeighbourPortal,
85 const InOutFieldPortalType& downNeighbourPortal)
const
89 vtkm::Id upNbr = upNeighbourPortal.Get(returnIndex);
93 upNeighbourPortal.Set(returnIndex, upNeighbourPortal.Get(upNbr));
96 vtkm::Id dnNbr = downNeighbourPortal.Get(returnIndex);
100 downNeighbourPortal.Set(returnIndex, downNeighbourPortal.Get(dnNbr));
#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::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
_1 InputDomain
Definition: PointerDoubleUpDownNeighboursWorklet.h:76
Step 1 of IdentifyRegularisedSupernodes.
Definition: PointerDoubleUpDownNeighboursWorklet.h:69
void(WholeArrayInOut upNeighbour, WholeArrayInOut downNeighbour) ControlSignature
Definition: PointerDoubleUpDownNeighboursWorklet.h:74
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38
void(InputIndex, _1, _2) ExecutionSignature
Definition: PointerDoubleUpDownNeighboursWorklet.h:75
VTKM_EXEC void operator()(const vtkm::Id returnIndex, const InOutFieldPortalType &upNeighbourPortal, const InOutFieldPortalType &downNeighbourPortal) const
Definition: PointerDoubleUpDownNeighboursWorklet.h:83
VTKM_EXEC_CONT PointerDoubleUpDownNeighboursWorklet()
Definition: PointerDoubleUpDownNeighboursWorklet.h:80