1. 14 Jan, 2016 4 commits
    • Kenneth Moreland's avatar
      Make Rectilinear and Regular builder tests faster · 427f3cf5
      Kenneth Moreland authored
      Previously UnitTestDataSetBuilderRectilinear and
      UnitTestDataSetBuilderRegular did an exhaustive test of all possible
      grid sizes within a certain amount of dimensions and with some number of
      ways to build point arrays. This created hundreds of thousands of cases
      that were checked, and it was running a long time. At best it wasted
      time and at worst ctest reported the test as timed out.
      
      It is not really necessary to perform an exhaustive test. The tests are
      changed to do 10 trials using random values for dimensions and fill
      methods.
      427f3cf5
    • Kenneth Moreland's avatar
      Fixed warnings about sign conversion. · e0184e66
      Kenneth Moreland authored
      e0184e66
    • Dave Pugmire's avatar
      Merge topic 'dataset-builder2' · a5972e6a
      Dave Pugmire authored and Kitware Robot's avatar Kitware Robot committed
      f86382f0 Fix support for CoordinateSystems using ArrayHandleCartesianProduct.
      d6a2a142 Add toleranced compare for values. Add tests for vtkm::Float32,Float64,Id typed arrays.
      5d438353 Add toleranced comparisions for bounds validation. Also, add vtkm::Float32 and vtkm::Float64 to the testing for rectilinear and regular datasets.
      b225ae97 Rectilinear coordinates (created with DataSetBuilderRectilinear) are now converted to vtkm::FloatDefault. This reduces the number of types to consider when casting inside CoordinateSystem, and was felt by all to be a reasonable restriction.
      d755e43d Use ArrayHandleCompositeVector to represent separated point arrays for DataSetBuilderExplicit.h.
      c7b0ffb8 Add tests for DataSetBuilderExplicit. Added cont/testing/ExplicitTestData.h which includes several explicit datasets.  These datasets come from VTK data generated in VisIt.  The new unit tests build datasets in several different ways and do some basic validation.
      b4d04fff Add specialization of printSummary_ArrayHandle for UInt8. It prints them as characters, which are a little hard to understand to this computer scientist.
      bd929c20
      
       Fix compiler warnings.
      ...
      
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Acked-by: Kenneth Moreland's avatarKenneth Moreland <kmorel@sandia.gov>
      Merge-request: !262
      a5972e6a
    • Robert Maynard's avatar
      Merge topic 'dynamic_cell_set_use_default' · 719ee34a
      Robert Maynard authored and Kitware Robot's avatar Kitware Robot committed
      4e94617f
      
       Make DynamicCellSet use VTKM_DEFAULT_CELL_SET_LIST_TAG.
      
      Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
      Merge-request: !309
      719ee34a
  2. 13 Jan, 2016 4 commits
  3. 12 Jan, 2016 5 commits
  4. 11 Jan, 2016 2 commits
  5. 08 Jan, 2016 5 commits
  6. 07 Jan, 2016 6 commits
  7. 06 Jan, 2016 1 commit
  8. 05 Jan, 2016 5 commits
  9. 04 Jan, 2016 8 commits
    • Kenneth Moreland's avatar
      Merge branch 'composite-array-handle-in-control' into 'master' · d502f6e2
      Kenneth Moreland authored
      Support control array portals in ArrayHandleCompositeVector.
      
      Previously, the ArrayHandleCompositeVector had a separate implementation
      of ArrayPortal for the control and execution environments. Because I was
      lazy when I implemented it, the control version did not support Get.
      
      Since originally implementing this class, VTK-m now allows defining
      methods that are declared as working in both control and execution
      environments (VTKM_EXEC_CONT_EXPORT) but only work in one or the other
      depending on methods of templated subclasses they call. Thus, solve this
      problem by simply removing the control version of the portal and use the
      same portal for both.
      
      See merge request !296
      d502f6e2
    • Robert Maynard's avatar
      TBB SortByKey works now when the key is a ArrayHandleZip. · c7756c78
      Robert Maynard authored
      The issue was that the temporary index array storage container
      was the same as the input ArrayHandleZip which is not correct.
      c7756c78
    • Robert Maynard's avatar
    • Robert Maynard's avatar
      We know the exact FieldOutCell types for MarchingCubes, so restrict it. · 30ac46f2
      Robert Maynard authored
      By restricting the types explicitly in the ControlSignature we reduce
      the code bloat, if we ever pass in a DynamicArrayHandle as one of those
      parameters.
      30ac46f2
    • Robert Maynard's avatar
      MarchingCubes generate step now requires a ScatterCounting object. · 8079dc28
      Robert Maynard authored
      Instead of having the generate step templated on the device adapter and
      the counting handle, we take in a fully constructed scatter counting object.
      8079dc28
    • Robert Maynard's avatar
      Add a default constructor for ScatterCounting. · 4cd2f582
      Robert Maynard authored
      Without a default constructor for ScatterCounting any class that wants
      to hold onto a ScatterCounting object is required to know what device
      they are running on. By allowing default construction, we can move that
      requirement to just have a method on the object require a device adapter
      object.
      4cd2f582
    • Robert Maynard's avatar
      Allow vtkm::cont::Field to have a default constructor. · c2ba8baf
      Robert Maynard authored
      When designing vtkm::filter we needed the ability to construct invalid Fields.
      This now allows us to do exactly that.
      c2ba8baf
    • Kenneth Moreland's avatar
      Support control array portals in composite vector. · e874b52f
      Kenneth Moreland authored
      Previously, the ArrayHandleCompositeVector had a separate implementation
      of ArrayPortal for the control and execution environments. Because I was
      lazy when I implemented it, the control version did not support Get.
      
      Since originally implementing this class, VTK-m now allows defining
      methods that are declared as working in both control and execution
      environments (VTKM_EXEC_CONT_EXPORT) but only work in one or the other
      depending on methods of templated subclasses they call. Thus, solve this
      problem by simply removing the control version of the portal and use the
      same portal for both.
      e874b52f