Go to the documentation of this file.
   53 #ifndef vtk_m_worklet_contourtree_augmented_contourtree_maker_inc_find_degrees_subtract_lhe_h 
   54 #define vtk_m_worklet_contourtree_augmented_contourtree_maker_inc_find_degrees_subtract_lhe_h 
   63 namespace contourtree_augmented
 
   65 namespace contourtree_maker_inc
 
   74     WholeArrayIn inNeighbour,      
 
   75     WholeArrayOut upOrDowndegree); 
 
   85   template <
typename InFieldPortalType, 
typename OutFieldPortalType>
 
   88                             const OutFieldPortalType& upOrDownDegreePortal)
 const 
   90     vtkm::Id whichJoinOrSplit = inNeighbourPortal.Get(joinOrSplitIndex);
 
   94       if (joinOrSplitIndex == 0)
 
   95         upOrDownDegreePortal.Set(whichJoinOrSplit,
 
   96                                  upOrDownDegreePortal.Get(whichJoinOrSplit) - joinOrSplitIndex + 1);
 
   97       else if (whichJoinOrSplit != inNeighbourPortal.Get(joinOrSplitIndex - 1))
 
   98         upOrDownDegreePortal.Set(whichJoinOrSplit,
 
   99                                  upOrDownDegreePortal.Get(whichJoinOrSplit) - joinOrSplitIndex + 1);
 
  
#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 ControlSignature(WholeArrayIn inNeighbour, WholeArrayOut upOrDowndegree)
Definition: FindDegrees_SubtractLHE.h:73
 
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
 
VTKM_EXEC_CONT FindDegrees_SubtractLHE()
Definition: FindDegrees_SubtractLHE.h:83
 
_1 InputDomain
Definition: FindDegrees_SubtractLHE.h:78
 
VTKM_EXEC_CONT bool NoSuchElement(vtkm::Id flaggedIndex)
Definition: filter/scalar_topology/worklet/contourtree_augmented/Types.h:97
 
Definition: FindDegrees_SubtractLHE.h:70
 
void ExecutionSignature(_1, InputIndex, _2)
Definition: FindDegrees_SubtractLHE.h:77
 
VTKM_EXEC void operator()(const InFieldPortalType &inNeighbourPortal, const vtkm::Id joinOrSplitIndex, const OutFieldPortalType &upOrDownDegreePortal) const
Definition: FindDegrees_SubtractLHE.h:86
 
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38