Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_bract_maker_set_interior_forest_worklet_h
54 #define vtk_m_worklet_contourtree_distributed_bract_maker_set_interior_forest_worklet_h
63 namespace contourtree_distributed
74 FieldIn interiorForestIsNecessary,
75 FieldIn boundaryTreeMakerTree2Superset,
76 WholeArrayIn meshGlobalIdsFromMeshIndices,
77 WholeArrayIn boundaryTreeMakerUpNeighbour,
78 WholeArrayIn boundaryTreeMakerDownNeighbour,
91 template <
typename InFieldPortalType,
typename GlobalIdFieldPortalType>
95 const GlobalIdFieldPortalType& meshGlobalIdsPortal,
96 const InFieldPortalType& upNeighbourPortal,
97 const InFieldPortalType& downNeighbourPortal,
114 vtkm::Id upSupersetId = upNeighbourPortal.Get(supersetId);
127 interiorForestAbove = meshGlobalIdsPortal.Get(upMeshId);
131 vtkm::Id downSupersetId = downNeighbourPortal.Get(supersetId);
142 vtkm::Id downMeshId = downSupersetId;
144 interiorForestBelow = meshGlobalIdsPortal.Get(downMeshId);
VTKM_EXEC void operator()(const vtkm::Id &sortId, const vtkm::Id &isNecessary, const vtkm::Id &supersetId, const GlobalIdFieldPortalType &meshGlobalIdsPortal, const InFieldPortalType &upNeighbourPortal, const InFieldPortalType &downNeighbourPortal, vtkm::Id &interiorForestAbove, vtkm::Id &interiorForestBelow) const
Definition: SetInteriorForestWorklet.h:92
#define VTKM_EXEC
Definition: ExportMacros.h:51
Groups connected points that have the same field value.
Definition: Atomic.h:19
_1 InputDomain
Definition: SetInteriorForestWorklet.h:83
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
void(FieldIn contourTreeSupernodes, FieldIn interiorForestIsNecessary, FieldIn boundaryTreeMakerTree2Superset, WholeArrayIn meshGlobalIdsFromMeshIndices, WholeArrayIn boundaryTreeMakerUpNeighbour, WholeArrayIn boundaryTreeMakerDownNeighbour, FieldInOut interiorForestAbove, FieldInOut interiorForestBelow) ControlSignature
Definition: SetInteriorForestWorklet.h:81
VTKM_EXEC_CONT vtkm::Id MaskedIndex(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:127
VTKM_EXEC_CONT SetInteriorForestWorklet()
Definition: SetInteriorForestWorklet.h:87
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
A control signature tag for input fields.
Definition: WorkletMapField.h:49
A control signature tag for input-output (in-place) fields.
Definition: WorkletMapField.h:71
Worklet to transfer the dependent counts for hyperarcs Part of the BoundaryRestrictedAugmentedContour...
Definition: SetInteriorForestWorklet.h:70
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
void(_1, _2, _3, _4, _5, _6, _7, _8) ExecutionSignature
Definition: SetInteriorForestWorklet.h:82