1. 03 Dec, 2019 1 commit
  2. 26 Nov, 2019 1 commit
  3. 19 Nov, 2019 2 commits
  4. 21 Oct, 2019 1 commit
  5. 17 Oct, 2019 3 commits
  6. 14 Oct, 2019 1 commit
  7. 11 Oct, 2019 1 commit
    • Kenneth Moreland's avatar
      Add Matrix.h to cellmetrics include · 677962f9
      Kenneth Moreland authored
      This file was using the Matrix class but not including Matrix.h. When I
      tried to use the MeshQuality filter in an example that did not include
      Matrix.h on its own, I got a compile error.
      677962f9
  8. 10 Oct, 2019 1 commit
  9. 09 Oct, 2019 4 commits
  10. 08 Oct, 2019 4 commits
    • Dave Pugmire's avatar
      Adjust tolerance · c41bf99b
      Dave Pugmire authored
      c41bf99b
    • Dave Pugmire's avatar
      Fix tolerance for unittest. · 2554de78
      Dave Pugmire authored
      2554de78
    • Robert Maynard's avatar
      ExecutionSignatures are now optional for simple worklets · c3f0060c
      Robert Maynard authored
      If a worklet doesn't explicitly state an ExecutionSignature, VTK-m
      assumes the worklet has no return value, and each ControlSignature
      argument is passed to the worklet in the same order.
      
      For example if we had this worklet:
      ```cxx
      struct DotProduct : public vtkm::worklet::WorkletMapField
      {
        using ControlSignature = void(FieldIn, FieldIn, FieldOut);
        using ExecutionSignature = void(_1, _2, _3);
      
        template <typename T, vtkm::IdComponent Size>
        VTKM_EXEC void operator()(const vtkm::Vec<T, Size>& v1,
                                  const vtkm::Vec<T, Size>& v2,
                                  T& outValue) const
        {
          outValue = vtkm::Dot(v1, v2);
        }
      };
      ```
      
      It can be simplified to be:
      
      ```cxx
      struct DotProduct : public vtkm::worklet::WorkletMapField
      {
        using ControlSignature = void(FieldIn, FieldIn, FieldOut);
      
        template <typename T, vtkm::IdComponent Size>
        VTKM_EXEC void operator()(const vtkm::Vec<T, Size>& v1,
                                  const vtkm::Vec<T, Size>& v2,
                                  T& outValue) const
        {
          outValue = vtkm::Dot(v1, v2);
        }
      };
      c3f0060c
    • Robert Maynard's avatar
  11. 07 Oct, 2019 3 commits
  12. 04 Oct, 2019 3 commits
    • Allison Vacanti's avatar
    • Kenneth Moreland's avatar
      Fix compile error for Xcode 9 · c0744dbb
      Kenneth Moreland authored
      The older Xcode 9 compiler has troubles with ArrayHandleDecorator that
      are similar to those of earlier Microsoft and Cuda compilers.
      
      Note that the logic behind the changed compiler check has a lot of
      guesswork involved. I noticed this problem on a laptop with Xcode 9
      installed. However, even though Xcode uses the clang compiler, it
      notoriously does not return the actual clang version. Instead, it
      returns some toolchain version that has nothing to do with it. I'm
      pretty sure Xcode 9 is using clang version 4 under the covers, but
      __clang_major__ reports 9. Oddly, Xcode 10 reports __clang_major__ as 8,
      so that's not too much help. So instead, we check for
      __apple_build_version__, which returns the Xcode version (sort of) and
      that seems a reasonable comparison.
      
      Although I have not tried it, I'm willing to bet that the older clang
      outside of Xcode will also have issues. Here is where the real guesswork
      takes place since I don't have handy compilers to try. Like I said, I
      think the internet claims that Xcode 9 is using clang 4, so also add to
      the check any compiler that reports itself clang 4 or below.
      c0744dbb
    • Dave Pugmire's avatar
      Fix for smallStep in integrator. · 9e486e07
      Dave Pugmire authored
      9e486e07
  13. 02 Oct, 2019 1 commit
    • Robert Maynard's avatar
      Improve the performance of the Image and Graph Connectivity algorithms · 973878b8
      Robert Maynard authored
      The collection of connectivity algorithms had a couple of inefficiencies.
      By moving to using WorkId we can remove a couple of arrays of the same size
      as the input domain. In addition by moving to using atomics we can remove
      an bool output array with a size equivalent to the input domain and
      a call to reduce.
      973878b8
  14. 30 Sep, 2019 3 commits
    • Kenneth Moreland's avatar
      Update logging for enabled devices · 2ca37707
      Kenneth Moreland authored
      The previous implementation of `RuntimeDeviceTracker` occasionally
      outputted a log at level `Info` about devices being enabled or disabled.
      The problem was that the information given was inconsistent (so it would
      sometimes announce one change but not announce a different corrective
      change). This could cause weird confusions. For example, when you used a
      `ColorTable`, it would use a `ScopedRuntimeDeviceTracker` to temporarily
      force the device to `Serial`. The log will just tell you that the device
      was forced to `Serial` but never tell you that the devices where
      restored to include actual parallel devices.
      
      This change helps correct these with the following changes:
      
      * Added a new log level, `DevicesEnabled`, that is a higher level than
        `Info`. All logging from `RuntimeDeviceTracker` goes to this log
        level.
      * Change the logging output of `RuntimeDeviceTracker` to output a list
        of currently enabled devices whenever a change happens. That way you
        don't have to guess what happend for each change.
      * Change `ScopedRuntimeDeviceTracker` to log whenever the scope is
        entered or left.
      2ca37707
    • Allison Vacanti's avatar
      Refactor CellSetExplicit to remove NumIndices. · 3886b7df
      Allison Vacanti authored
      See #408 for details.
      3886b7df
    • Robert Maynard's avatar
      CellSetConnectivity now inherits from FilterDataSet · 25fb666d
      Robert Maynard authored
      Fixes #409
      25fb666d
  15. 29 Sep, 2019 2 commits
  16. 27 Sep, 2019 6 commits
  17. 26 Sep, 2019 3 commits