Go to the documentation of this file.
46 #ifndef vtk_m_worklet_contourtree_distributed_hierarchical_augmenter_copy_base_regular_structure_worklet_h
47 #define vtk_m_worklet_contourtree_distributed_hierarchical_augmenter_copy_base_regular_structure_worklet_h
56 namespace contourtree_distributed
58 namespace hierarchical_augmenter
73 regularNodesNeededRange,
75 baseTreeRegularNodeGlobalIdsPermuted,
76 FieldIn baseTreeDataValuesPermuted,
77 FieldIn regularSuperparentsPermuted,
79 augmentedTreeRegularNodeGlobalIdsView,
81 augmentedTreeDataValuesView,
83 augmentedTreeSuperparentsView,
85 augmentedTreeRegularNodeSortOrderView
98 template <
typename FieldType>
102 baseTreeRegularNodeGlobalId,
103 const FieldType& baseTreeDataValue,
104 const vtkm::Id& regularSuperparentsValue,
106 augmentedTreeRegularNodeGlobalIdValue,
108 augmentedTreeDataValue,
110 augmentedTreeSuperparentsValue,
112 augmentedTreeRegularNodeSortOrderValue
121 augmentedTreeRegularNodeGlobalIdValue = baseTreeRegularNodeGlobalId;
122 augmentedTreeDataValue = baseTreeDataValue;
123 augmentedTreeSuperparentsValue = regularSuperparentsValue;
127 augmentedTreeRegularNodeSortOrderValue = newRegularId;
VTKM_EXEC_CONT CopyBaseRegularStructureWorklet(const vtkm::Id &numExistingRegular)
Default Constructor.
Definition: CopyBaseRegularStructureWorklet.h:92
const vtkm::Id NumExistingRegular
Definition: CopyBaseRegularStructureWorklet.h:157
#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
void(FieldIn regularNodesNeededRange, FieldIn baseTreeRegularNodeGlobalIdsPermuted, FieldIn baseTreeDataValuesPermuted, FieldIn regularSuperparentsPermuted, FieldOut augmentedTreeRegularNodeGlobalIdsView, FieldOut augmentedTreeDataValuesView, FieldOut augmentedTreeSuperparentsView, FieldOut augmentedTreeRegularNodeSortOrderView) ControlSignature
Control signature for the worklet NOTE: We require the input arrays (aside form the input domain) to ...
Definition: CopyBaseRegularStructureWorklet.h:86
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
A control signature tag for input fields.
Definition: WorkletMapField.h:49
VTKM_EXEC void operator()(const vtkm::Id &neededRegNode, const vtkm::Id &baseTreeRegularNodeGlobalId, const FieldType &baseTreeDataValue, const vtkm::Id ®ularSuperparentsValue, vtkm::Id &augmentedTreeRegularNodeGlobalIdValue, FieldType &augmentedTreeDataValue, vtkm::Id &augmentedTreeSuperparentsValue, vtkm::Id &augmentedTreeRegularNodeSortOrderValue) const
operator() of the workelt
Definition: CopyBaseRegularStructureWorklet.h:99
_1 InputDomain
Definition: CopyBaseRegularStructureWorklet.h:88
void(_1, _2, _3, _4, _5, _6, _7, _8) ExecutionSignature
Definition: CopyBaseRegularStructureWorklet.h:87
Worklet used in HierarchicalAugmenter::CopyBaseRegularStructure for finding the superparent for each ...
Definition: CopyBaseRegularStructureWorklet.h:63
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38