Skip to content
  • Kenneth Moreland's avatar
    Change vtkm::Tuple to vtkm::Vec · 2139d932
    Kenneth Moreland authored
    There are multiple reasons for this name change:
    
    * The name Tuple conflicts with the boost::Tuple class, which as a
    different interface and feature set. This gets confusing, especially
    since VTK-m uses boost quite a bit.
    
    * The use of this class is usually (although not always) as a
    mathematical vector.
    
    * The vtkm::Scalar and vtkm::Vector* classes are going to go away soon
    to better support multiple base data type widths. Having this
    abbriviated name will hopefully make the code a bit nicer when these
    types have to be explicitly specified.
    
    Also modified the implementation a bit to consolidate some of the code.
    2139d932