1. 04 Aug, 2021 2 commits
  2. 29 Jul, 2021 2 commits
    • David Frank's avatar
      Refactor and adapt output format of Timer · 7b977fbd
      David Frank authored
      This patch adds 3 changes:
      - Rely on spdlog::stopwatch instead of the 'raw' standard library clock
      - Change the output format a touch to improve readability
      - Rename of variables to express intent better
      
      As of version 1.8.0 of spdlog a stopwatch is provided. I thought it
      would be nice to justs rely on that one instead of rolling our own (even
      if it's not that hard).
      
      The other change is the output format. Instead of printing in the format
      '[Timing] [debug] Execution of <caller>: <fn> took <time>ms', I changed
      it to '[<caller>] [debug] <fn> took <time>s'. So instead of having a
      separate Timing logger, the logger for the class is used. IMO, this
      cleans up the log a touch, as my eyes don't have to search in different
      columns, but it's minor. Also I use the default output format of the
      spdlog::stopwatch, which is in decimal and seconds.
      
      Also I used the change to rename the variables, as it was just a little
      off.
      7b977fbd
    • Andi Braimllari's avatar
      add max operation to DataContainer · 921ede92
      Andi Braimllari authored
      921ede92
  3. 28 Jul, 2021 1 commit
    • David Frank's avatar
      #105 Add slicing capabilities to DataContainer · 52a406b8
      David Frank authored
      Access to a portion of the DataContainer in the form of slices.
      Currently, only slicing in the direction of the last dimension are
      possible, but this should still be useful for many cases.
      
      The one suprising thing in this implementation, is that the returned
      DataContainer, has a descriptor which is of the same dimension as the
      original DataContainer but with a "thickness" of 1 in the last
      dimension, instead of actually being lower dimensional.
      52a406b8
  4. 24 Jul, 2021 3 commits
  5. 23 Jul, 2021 1 commit
  6. 21 Jul, 2021 1 commit
  7. 16 Jul, 2021 1 commit
    • David Frank's avatar
      Add support to concatenate two DataContainers · 56296a9e
      David Frank authored
      When two DataContainers are concatenated, a new one with a
      RandomBlocksDescriptor is created, with the two original descriptors
      as blocks.
      
      Currently, only concatenation of containers of equal dimension is
      allowed.
      56296a9e
  8. 06 Jul, 2021 1 commit
  9. 05 Jul, 2021 1 commit
  10. 02 Jul, 2021 1 commit
  11. 29 Jun, 2021 3 commits
  12. 28 Jun, 2021 14 commits
  13. 26 Jun, 2021 1 commit
    • David Frank's avatar
      Remove noise from Timer in logging output · 81883132
      David Frank authored
      The Timer class now prints timing information only if the Logger is set
      to debug level, instead of info level. This reduces noise in the output.
      The Timing of execution is not necessarily an useful information all the
      time.
      
      An example is the python script introduced in !182, all useful
      information regarding conversion and solvers is shadowed by the Timing
      information.
      81883132
  14. 25 Jun, 2021 2 commits
  15. 24 Jun, 2021 2 commits
  16. 22 Jun, 2021 1 commit
  17. 21 Jun, 2021 3 commits
    • David Frank's avatar
      #129 Reduce runtime of certain tests dramatically · 12d3340f
      David Frank authored
      Some tests have extraemly long runtime especially in debug builds. This
      commit reduces the runtime ~3x on my personal machine, hopefully the
      effect is even more pronounced on the CI.
      
      Closes #129
      12d3340f
    • David Frank's avatar
      1b72fed5
    • David Frank's avatar
      Remove unnecessray heap allocation in ml · 97a10375
      David Frank authored
      At a couple of places a new unique_ptr was created, then directly
      dereferenced and a copy of the underlying VolumeDescriptor returned.
      This creates an unnecessray heap allocation. This commits directly casts
      the reference of the smart pointer to a VolumeDescriptor and from there
      the copy is created.
      
      Remove dynamic_unique_ptr_cast and static_unique_ptr_cast as both is
      covered by the downcast functions in TypeCasts.hpp.
      97a10375