Go to the documentation of this file.
53 #ifndef vtk_m_worklet_contourtree_distributed_bract_maker_augment_boundary_with_necessary_interior_supernodes_unset_boundary_supernodes_worklet_h
54 #define vtk_m_worklet_contourtree_distributed_bract_maker_augment_boundary_with_necessary_interior_supernodes_unset_boundary_supernodes_worklet_h
63 namespace contourtree_distributed
75 WholeArrayIn superparents,
76 WholeArrayIn supernodes,
77 WholeArrayOut isNecessaryAndInterior
88 template <
typename InFieldPortalType,
typename OutFieldPortalType>
90 const InFieldPortalType& superparentsPortal,
91 const InFieldPortalType& supernodesPortal,
92 const OutFieldPortalType& isNecessaryAndInteriorPortal)
const
94 vtkm::Id superparent = superparentsPortal.Get(boundaryVertexSortID);
96 if (supernodesPortal.Get(superparent) == boundaryVertexSortID)
98 isNecessaryAndInteriorPortal.Set(superparent,
false);
#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
void(FieldIn boundaryIndices, WholeArrayIn superparents, WholeArrayIn supernodes, WholeArrayOut isNecessaryAndInterior) ControlSignature
Definition: AugmentBoundaryWithNecessaryInteriorSupernodesUnsetBoundarySupernodesWorklet.h:80
_1 InputDomain
Definition: AugmentBoundaryWithNecessaryInteriorSupernodesUnsetBoundarySupernodesWorklet.h:82
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_CONT AugmentBoundaryWithNecessaryInteriorSupernodesUnsetBoundarySupernodesWorklet()
Definition: AugmentBoundaryWithNecessaryInteriorSupernodesUnsetBoundarySupernodesWorklet.h:86
Worklet to transfer the dependent counts for hyperarcs Part of the BoundaryRestrictedAugmentedContour...
Definition: AugmentBoundaryWithNecessaryInteriorSupernodesUnsetBoundarySupernodesWorklet.h:70
void(_1, _2, _3, _4) ExecutionSignature
Definition: AugmentBoundaryWithNecessaryInteriorSupernodesUnsetBoundarySupernodesWorklet.h:81
VTKM_EXEC void operator()(const vtkm::Id &boundaryVertexSortID, const InFieldPortalType &superparentsPortal, const InFieldPortalType &supernodesPortal, const OutFieldPortalType &isNecessaryAndInteriorPortal) const
Definition: AugmentBoundaryWithNecessaryInteriorSupernodesUnsetBoundarySupernodesWorklet.h:89
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38