This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. 07 Apr, 2020 1 commit
    • Giovanni Di Siena's avatar
      Replace boost::shared with std::shared · 11994bc3
      Giovanni Di Siena authored and Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony committed
      In places other substitutions have been made, e.g
      Clang does not yet specialize std::shared_ptr for T[]. Vector
      has been used instead. The operator[] methods were incorrectly
      marked const but returning a non-const reference - this has been fixed.
      Refs #25842
      11994bc3
  2. 02 Apr, 2020 1 commit
  3. 25 Mar, 2020 1 commit
  4. 20 Mar, 2020 1 commit
    • Danny Hindson's avatar
      Add ability to load measured attenuation profile for material · 74316a4b
      Danny Hindson authored
      Add feature where an externally generated attenuation profile can be loaded into
      the material definition from a .DAT text file. This will override the normal
      exp(-alpha*thickness) calculation of the attenuation. The new feature was requested
      as part of the absorption calculation for the Pearl instrument where some parts
      of the environment are crystalline
      
      Found the lookup\interpolation on the loaded profile was slowing down the absorption
      Monte Carlo calculation.
      So improved performance of Kernel::Interpolation. Changed it to use vector of pairs
      instead of two separate vectors to reduce amount of navigation around vectors
      
      Considered adding feature into AttenuationProfile where I add any interpolated points
      into the override attenuation profile to prevent interpolation next iteration of
      Monte Carlo simulation. However wasn't convinced this was going to be thread-safe
      during the parallel part of the absorption calculation - may revisit this. While doing
      this investigation I fixed the following issues with the function Interpolation::AddPoint:
      
      a) it doesn't add the same point twice
      b) it reuses the lower_bound function rather than stepping through the vector sequentially
      
      I removed the exception from findIndexOfNextLargerValue because the end()
      iterator is a valid result if the x value supplied equals the last x value
      already in the vector. Could have left check in for begin() but didn't seem
      much point
      
      Finally - the interpolation outside the range is not v good. The data at the extremes
      is noisy so we end up extrapolating based on random gradient in extreme 2 points. Need
      to either fit or use more points to determine gradient
      74316a4b
  5. 05 Mar, 2020 1 commit
  6. 29 Oct, 2019 2 commits
  7. 22 Oct, 2019 3 commits
  8. 10 Sep, 2019 1 commit
  9. 04 Sep, 2019 1 commit
  10. 08 Jul, 2019 1 commit
  11. 17 Jun, 2019 1 commit
  12. 05 Jun, 2019 1 commit
  13. 04 Jun, 2019 1 commit
  14. 03 Jun, 2019 2 commits
  15. 20 May, 2019 1 commit
  16. 27 Mar, 2019 1 commit
  17. 26 Mar, 2019 1 commit
  18. 25 Mar, 2019 1 commit
  19. 22 Feb, 2019 2 commits
  20. 10 Feb, 2019 1 commit
    • Martyn Gigg's avatar
      Remove manual linking to asan library · 2db491e5
      Martyn Gigg authored
      If included then clang on Linux reports "incompatible ASan runtimes"
      on running the executables. This lets the -fsanitize flag handle
      everything, which seems to do the correct thing for gcc and clang.
      2db491e5
  21. 08 Feb, 2019 2 commits
  22. 21 Jan, 2019 1 commit
  23. 11 Dec, 2018 1 commit
  24. 27 Nov, 2018 1 commit
    • Gigg, Martyn Anthony's avatar
      Use .pth files for updating python paths · 70f86ad9
      Gigg, Martyn Anthony authored
      This is more standard and removes the possibililty
      of users to accidentally overriding the set of python
      paths required by many interfaces to start.
      The pythonscripts.directories config key is now empty by
      default and only adds directories on starting the framework.
      70f86ad9
  25. 23 Nov, 2018 1 commit
  26. 28 Aug, 2018 1 commit
  27. 26 Jul, 2018 1 commit
  28. 25 Jun, 2018 2 commits
  29. 20 Jun, 2018 1 commit
  30. 07 Jun, 2018 2 commits
  31. 22 Apr, 2018 1 commit
    • Martyn Gigg's avatar
      Replace boost::random with std::random · b573d4dd
      Martyn Gigg authored
      This includes dragging the libcxx implementation of normal_distribution
      and uniform_int_distribution into our source. MSVC, clang and gcc don't
      agree on how this should be implemented leading to problems with
      comparing test results across platforms. Using a single implementation
      gives the same results on each platform.
      b573d4dd
  32. 09 Apr, 2018 1 commit
    • Karl Palmen's avatar
      Merge remote-tracking branch 'origin/master' re #12828 · 8072b97d
      Karl Palmen authored
      
      
      # Please enter a commit message to explain why this merge is necessary,
      # especially if it merges an updated upstream into a topic branch.
      #
      # Lines starting with '#' will be ignored, and an empty message aborts
      # the commit.
      
      Merge done to enable documentation be be fixed, because of removal of
      alias directive and addition of related algorithms directive.
      
      Signed-off-by: default avatarKarl Palmen <karl.palmen@stfc.ac.uk>
      8072b97d