Go to the documentation of this file.
   53 #ifndef vtk_m_worklet_contourtree_distributed_bract_maker_set_up_and_down_neighbours_worklet_h 
   54 #define vtk_m_worklet_contourtree_distributed_bract_maker_set_up_and_down_neighbours_worklet_h 
   63 namespace contourtree_distributed
 
   75                                 WholeArrayIn meshSortIndex,       
 
   76                                 WholeArrayOut upNeighbour,        
 
   77                                 WholeArrayOut downNeighbour       
 
   89   template <
typename InFieldPortalType,
 
   90             typename MeshSortIndexPortalType,
 
   91             typename OutFieldPortalType>
 
   94                             const InFieldPortalType& bractVertexSupersetPortal,
 
   95                             const MeshSortIndexPortalType& meshSortIndexPortal,
 
   96                             const OutFieldPortalType& upNeighbourPortal,
 
   97                             const OutFieldPortalType& downNeighbourPortal)
 const 
  107     vtkm::Id fromSort = meshSortIndexPortal.Get(bractVertexSupersetPortal.Get(from));
 
  108     vtkm::Id toSort = meshSortIndexPortal.Get(bractVertexSupersetPortal.Get(to));
 
  111     if (fromSort < toSort)
 
  113       upNeighbourPortal.Set(from, to);
 
  114       downNeighbourPortal.Set(to, from);
 
  118       upNeighbourPortal.Set(to, from);
 
  119       downNeighbourPortal.Set(from, to);
 
  
void(WholeArrayIn bractVertexSuperset, FieldIn bractSuperarcs, WholeArrayIn meshSortIndex, WholeArrayOut upNeighbour, WholeArrayOut downNeighbour) ControlSignature
Definition: SetUpAndDownNeighboursWorklet.h:78
 
#define VTKM_EXEC
Definition: ExportMacros.h:51
 
Groups connected points that have the same field value.
Definition: Atomic.h:19
 
Worklet to transfer the dependent counts for hyperarcs Part of the BoundaryRestrictedAugmentedContour...
Definition: SetUpAndDownNeighboursWorklet.h:70
 
#define VTKM_EXEC_CONT
Definition: ExportMacros.h:52
 
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
 
_1 InputDomain
Definition: SetUpAndDownNeighboursWorklet.h:80
 
void(InputIndex, _2, _1, _3, _4, _5) ExecutionSignature
Definition: SetUpAndDownNeighboursWorklet.h:79
 
VTKM_EXEC_CONT SetUpAndDownNeighboursWorklet()
Definition: SetUpAndDownNeighboursWorklet.h:84
 
VTKM_EXEC void operator()(const vtkm::Id &from, const vtkm::Id &to, const InFieldPortalType &bractVertexSupersetPortal, const MeshSortIndexPortalType &meshSortIndexPortal, const OutFieldPortalType &upNeighbourPortal, const OutFieldPortalType &downNeighbourPortal) const
Definition: SetUpAndDownNeighboursWorklet.h:92
 
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38