Go to the documentation of this file.
   57 #ifndef vtkm_worklet_contourtree_set_supernode_inward_h 
   58 #define vtkm_worklet_contourtree_set_supernode_inward_h 
   76                                 WholeArrayIn outbound,      
 
   77                                 WholeArrayIn indegree,      
 
   78                                 WholeArrayIn outdegree,     
 
   79                                 WholeArrayInOut superarcs); 
 
   87   template <
typename InFieldPortalType, 
typename OutFieldPortalType>
 
   89                             const InFieldPortalType& inbound,
 
   90                             const InFieldPortalType& outbound,
 
   91                             const InFieldPortalType& indegree,
 
   92                             const InFieldPortalType& outdegree,
 
   93                             const OutFieldPortalType& superarcs)
 const 
   96     vtkm::Id outNeighbour = outbound.Get(superID);
 
   97     vtkm::Id inNeighbour = inbound.Get(superID);
 
  102     if ((outdegree.Get(outNeighbour) != 0) || (indegree.Get(outNeighbour) != 1))
 
  110     superarcs.Set(superID, inNeighbour);
 
  
VTKM_EXEC void operator()(const vtkm::Id &superID, const InFieldPortalType &inbound, const InFieldPortalType &outbound, const InFieldPortalType &indegree, const InFieldPortalType &outdegree, const OutFieldPortalType &superarcs) const
Definition: SetSupernodeInward.h:88
 
#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
 
Definition: SetSupernodeInward.h:71
 
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
 
void(_1, _2, _3, _4, _5, _6) ExecutionSignature
Definition: SetSupernodeInward.h:80
 
A control signature tag for input fields.
Definition: WorkletMapField.h:49
 
#define NO_VERTEX_ASSIGNED
Definition: filter/scalar_topology/worklet/contourtree/Types.h:77
 
_1 InputDomain
Definition: SetSupernodeInward.h:81
 
void(FieldIn superID, WholeArrayIn inbound, WholeArrayIn outbound, WholeArrayIn indegree, WholeArrayIn outdegree, WholeArrayInOut superarcs) ControlSignature
Definition: SetSupernodeInward.h:79
 
VTKM_EXEC_CONT SetSupernodeInward()
Definition: SetSupernodeInward.h:85
 
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38