Go to the documentation of this file.
   53 #ifndef vtk_m_worklet_contourtree_augmented_active_graph_initialize_neighbourhood_masks_and_out_degrees_h 
   54 #define vtk_m_worklet_contourtree_augmented_active_graph_initialize_neighbourhood_masks_and_out_degrees_h 
   62 namespace contourtree_augmented
 
   64 namespace active_graph_inc
 
   74     ExecObject meshStructure,         
 
   75     WholeArrayOut neighbourhoodMasks, 
 
   76     WholeArrayOut outDegrees);        
 
   94   template <
typename MeshStructureType, 
typename OutFieldPortalType>
 
   96                             const MeshStructureType& meshStructure,
 
   97                             const OutFieldPortalType& neighbourhoodMasksPortal,
 
   98                             const OutFieldPortalType& outDegreesPortal)
 const 
  101       meshStructure.GetNeighbourComponentsMaskAndDegree(sortIndex, this->
IsJoinGraph);
 
  102     neighbourhoodMasksPortal.Set(sortIndex, maskAndDegree.
first);
 
  103     outDegreesPortal.Set(sortIndex, maskAndDegree.
second);
 
  
VTKM_EXEC_CONT InitializeNeighbourhoodMasksAndOutDegrees(const bool joinGraph)
Definition: InitializeNeighbourhoodMasksAndOutDegrees.h:89
 
_1 InputDomain
Definition: InitializeNeighbourhoodMasksAndOutDegrees.h:78
 
#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 ExecutionSignature(_1, _2, _3, _4)
Definition: InitializeNeighbourhoodMasksAndOutDegrees.h:77
 
vtkm::Int32 Id
Represents an ID (index into arrays).
Definition: Types.h:191
 
VTKM_EXEC void operator()(const vtkm::Id &sortIndex, const MeshStructureType &meshStructure, const OutFieldPortalType &neighbourhoodMasksPortal, const OutFieldPortalType &outDegreesPortal) const
Definition: InitializeNeighbourhoodMasksAndOutDegrees.h:95
 
A control signature tag for input fields.
Definition: WorkletMapField.h:49
 
FirstType first
The pair's first object.
Definition: Pair.h:50
 
VTKM_EXEC_CONT InitializeNeighbourhoodMasksAndOutDegrees()
Definition: InitializeNeighbourhoodMasksAndOutDegrees.h:82
 
void ControlSignature(FieldIn sortIndex, ExecObject meshStructure, WholeArrayOut neighbourhoodMasks, WholeArrayOut outDegrees)
Definition: InitializeNeighbourhoodMasksAndOutDegrees.h:72
 
Definition: InitializeNeighbourhoodMasksAndOutDegrees.h:69
 
A vtkm::Pair is essentially the same as an STL pair object except that the methods (constructors and ...
Definition: Pair.h:29
 
bool IsJoinGraph
Definition: InitializeNeighbourhoodMasksAndOutDegrees.h:113
 
SecondType second
The pair's second object.
Definition: Pair.h:55
 
Base class for worklets that do a simple mapping of field arrays.
Definition: WorkletMapField.h:38