Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_tree_grafter_init_active_superarc_id_worklet_h
54 #define vtk_m_worklet_contourtree_distributed_tree_grafter_init_active_superarc_id_worklet_h
63 namespace contourtree_distributed
65 namespace tree_grafter
75 WholeArrayIn contourtreeSuperarcs,
76 WholeArrayIn interiorForestIsNecessary,
87 template <
typename InFieldPortalType>
89 const InFieldPortalType& contourtreeSuperarcPortal,
90 const InFieldPortalType& isNecessaryPortal)
const
94 contourtreeSuperarcPortal.Get(superarcIndex));
96 return (!isNecessaryPortal.Get(superarcIndex) || !isNecessaryPortal.Get(superarcTo));
#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
A control signature tag for output fields.
Definition: WorkletMapField.h:60
VTKM_EXEC_CONT InitActiceSuperarcIdWorklet()
Definition: InitActiceSuperarcIdWorklet.h:85
_4(_1, _2, _3) ExecutionSignature
Definition: InitActiceSuperarcIdWorklet.h:80
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
A control signature tag for input fields.
Definition: WorkletMapField.h:49
_1 InputDomain
Definition: InitActiceSuperarcIdWorklet.h:81
Definition: InitActiceSuperarcIdWorklet.h:69
VTKM_EXEC vtkm::Id operator()(const vtkm::Id &superarcIndex, const InFieldPortalType &contourtreeSuperarcPortal, const InFieldPortalType &isNecessaryPortal) const
Definition: InitActiceSuperarcIdWorklet.h:88
void(FieldIn superarcIndex, WholeArrayIn contourtreeSuperarcs, WholeArrayIn interiorForestIsNecessary, FieldOut activeSuperarcId) ControlSignature
Definition: InitActiceSuperarcIdWorklet.h:78
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38