Go to the documentation of this file.
   53 #ifndef vtk_m_worklet_contourtree_distributed_bract_maker_propagate_boundary_counts_subtract_dependent_counts_worklet_h 
   54 #define vtk_m_worklet_contourtree_distributed_bract_maker_propagate_boundary_counts_subtract_dependent_counts_worklet_h 
   63 namespace contourtree_distributed
 
   74                                 WholeArrayIn hyperparents, 
 
   75                                 WholeArrayIn hypernodes,   
 
   76                                 WholeArrayIn superarcDependentBoundaryCount,      
 
   77                                 WholeArrayInOut newSuperArcDependentBoundaryCount 
 
   91   template <
typename InFieldPortalType, 
typename InOutFieldPortalType>
 
   94     const InFieldPortalType& hyperparentsPortal,
 
   95     const InFieldPortalType& hypernodesPortal,
 
   96     const InFieldPortalType& superarcDependentBoundaryCountPortal,
 
   97     const InOutFieldPortalType& newSuperArcDependentBoundaryCountPortal)
 const 
  100     vtkm::Id hyperparent = hyperparentsPortal.Get(supernode);
 
  101     vtkm::Id hyperparentSuperId = hypernodesPortal.Get(hyperparent);
 
  110     newSuperArcDependentBoundaryCountPortal.Set(
 
  112       newSuperArcDependentBoundaryCountPortal.Get(supernodeOffset) -
 
  113         superarcDependentBoundaryCountPortal.Get(hyperparentSuperId - 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
 
Worklet to Subtract out the dependent count of the prefix to the entire hyperarc Part of the Boundary...
Definition: PropagateBoundaryCountsSubtractDependentCountsWorklet.h:70
 
void(_1, _2, _3, _4, _5) ExecutionSignature
Definition: PropagateBoundaryCountsSubtractDependentCountsWorklet.h:79
 
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 void operator()(const vtkm::Id &supernode, const InFieldPortalType &hyperparentsPortal, const InFieldPortalType &hypernodesPortal, const InFieldPortalType &superarcDependentBoundaryCountPortal, const InOutFieldPortalType &newSuperArcDependentBoundaryCountPortal) const
Definition: PropagateBoundaryCountsSubtractDependentCountsWorklet.h:92
 
vtkm::Id FirstSupernode
Definition: PropagateBoundaryCountsSubtractDependentCountsWorklet.h:136
 
void(FieldIn supernodeIndex, WholeArrayIn hyperparents, WholeArrayIn hypernodes, WholeArrayIn superarcDependentBoundaryCount, WholeArrayInOut newSuperArcDependentBoundaryCount) ControlSignature
Definition: PropagateBoundaryCountsSubtractDependentCountsWorklet.h:78
 
VTKM_EXEC_CONT PropagateBoundaryCountsSubtractDependentCountsWorklet(vtkm::Id firstSupernode, vtkm::Id firstHypernode)
Definition: PropagateBoundaryCountsSubtractDependentCountsWorklet.h:84
 
_1 InputDomain
Definition: PropagateBoundaryCountsSubtractDependentCountsWorklet.h:80
 
vtkm::Id FirstHypernode
Definition: PropagateBoundaryCountsSubtractDependentCountsWorklet.h:137
 
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38