Skip to content
Snippets Groups Projects
  1. Sep 18, 2019
  2. Sep 17, 2019
  3. Sep 13, 2019
  4. Sep 10, 2019
    • Oliver Sander's avatar
      [!566] Improvement of Float128 · 48d79b69
      Oliver Sander authored
      Merge branch 'issue/quadmath_improvements' into 'master'
      
      ref:core/dune-common
      
      ### Summary
      
      Add missing AddQuadMathFlags.cmake, clean up the implementation of
      numeric_limits, and add a specialization of the pow() function with integer
      exponents.
      
      ### Motivation
      
      Addresses some issues of [#127], e.g. the missing add_quadmath_flags cmake
      function. Additionally the numeric_limits are cleaned up, following now some
      the boost::multiprecision implementation.
      
      While benchmarking some quadrature rules with Float128 I found out, that the
      `pow(Float128, int)` implementation is very slow, since it calls the
      `powq(Float128, Float128)` function. There was no specialization for integer
      exponents. This is added now and is much faster. The implementation is derived
      from boost::multiprecision library.
      
      ### TODO
      
      -   [x] Add reference to boost implementation
      
      Closes [#127] Closes [#129]
      
      See merge request [!566]
      
        [#127]: gitlab.dune-project.org/NoneNone/issues/127
        [#129]: gitlab.dune-project.org/NoneNone/issues/129
        [!566]: gitlab.dune-project.org/core/dune-common/merge_requests/566
      
      
      Closes #129 and #127
      48d79b69
    • Oliver Sander's avatar
      [!704] Fix typos · c99d941d
      Oliver Sander authored
      Merge branch 'fix-typos' into 'master'
      
      See merge request [!704]
      
        [!704]: Nonecore/dune-common/merge_requests/704
      c99d941d
    • Oliver Sander's avatar
      Use 'cmake' instead of 'configure' internally · 4f84f37c
      Oliver Sander authored
      'configure' is an old alias for 'cmake', back from the
      good old AutoTools days.
      4f84f37c
    • Oliver Sander's avatar
      Fix typos in inline documentation · 6ed87661
      Oliver Sander authored
      6ed87661
  5. Sep 04, 2019
    • Ansgar Burchardt's avatar
      [!700] dense vectors: add some more methods expected for containers · 67fcf531
      Ansgar Burchardt authored
      Merge branch 'feature/make-vectors-more-like-containers' into 'master'
      
      ref:core/dune-common This merge request makes dense vectors look a little bit
      more like standard containers by adding front(), back() and empty() member
      functions.
      
      For dense vectors where the implementation uses a contiguous array, a data()
      member function is also provided.
      
      See merge request [!700]
      
        [!700]: gitlab.dune-project.org/core/dune-common/merge_requests/700
      67fcf531
  6. Aug 30, 2019
  7. Jul 26, 2019
    • Steffen Müthing's avatar
      [!695] Make inkscape run completely headless in batch mode · 4154081a
      Steffen Müthing authored
      Merge branch 'bug/make-inkscape-run-headless-on-macos' into 'master'
      
      ref:core/dune-common We run inkscape in headless mode to convert a number of
      SVG files. On macOS, inkscape unfortunately still wants to start the X server
      and open a window in this mode. This patch adds option "-z" to override that
      behavior.
      
      See merge request [!695]
      
        [!695]: gitlab.dune-project.org/core/dune-common/merge_requests/695
      4154081a
    • Steffen Müthing's avatar
      [!694] Optionally make CMake create relative symlinks · 0e61536b
      Steffen Müthing authored
      Merge branch 'feature/support-relative-symlink-creation' into 'master'
      
      ref:core/dune-common This patch adds a new option DUNE_SYMLINK_RELATIVE_LINKS
      that creates relative instead of absolute symlinks.
      
      See merge request [!694]
      
        [!694]: gitlab.dune-project.org/core/dune-common/merge_requests/694
      0e61536b
    • Steffen Müthing's avatar
      Make inkscape run completely headless in batch mode · cf4a8a98
      Steffen Müthing authored
      We run inkscape in headless mode to convert a number of SVG files. On macOS,
      inkscape unfortunately still wants to start the X server and open a window in
      this mode. This patch adds option "-z" to override that behavior.
      cf4a8a98
    • Steffen Müthing's avatar
      Optionally make CMake create relative symlinks · c524c741
      Steffen Müthing authored
      This patch adds a new option DUNE_SYMLINK_RELATIVE_LINKS that creates relative
      instead of absolute symlinks.
      c524c741
  8. Jul 10, 2019
  9. Jul 09, 2019
    • Andreas Dedner's avatar
      [!692] Fix python version detection. · ca649c1a
      Andreas Dedner authored
      Merge branch 'bugfix/python-version-detector' into 'master'
      
      ref:core/dune-common This MR fixes the mixup of python version detection. As
      in the system cmake script the newest python version needs to be listed first.
      
      See merge request [!692]
      
        [!692]: gitlab.dune-project.org/core/dune-common/merge_requests/692
      ca649c1a
  10. Jul 08, 2019
  11. Jul 07, 2019
  12. Jul 04, 2019
    • Carsten Gräser's avatar
      [!691] Fix activation of union members · e2c4b0a9
      Carsten Gräser authored
      Merge branch 'feature/proper-union-activation' into 'master'
      
      ref:core/dune-common
      
      -   Members of a union need to be activated by calling a constructor (e.g.
          using placement new)
      -   This allows to also delete the move-assignment operators such that we can
          now better protect the internal classes against misuse.
      
      See merge request [!691]
      
        [!691]: gitlab.dune-project.org/core/dune-common/merge_requests/691
      e2c4b0a9
    • Carsten Gräser's avatar
      Fix activation of union members · 944d9df2
      Carsten Gräser authored
      * Members of a union need to be activated by calling a constructor
        (e.g. using placement new)
      * This allows to also delete the move-assignment operators such
        that we can now better protect the internal classes against misuse.
      944d9df2
  13. Jul 03, 2019
    • Carsten Gräser's avatar
      [!689] Impove Std::variant implementation · 727c0348
      Carsten Gräser authored
      Merge branch 'feature/improve-std-variant' into 'master'
      
      ref:core/dune-common This fixes several bugs/incompatibilities and makes the
      code (hopefully) a little more robust and better to understand. It's the
      result of the discussion with @lasse.hinrichsen.
      
      This should also fix the problem in [dune-localfunctions!113]
      
      -   Remove explicit Buffer class and use aligned_storage directly
      -   Use a single TypeStorage implementation for all types
      -   Rename variant_union_ to \`VariadicUnion\*
      -   Clean up interfaces and implementation of TypeStorage and VariadicUnion
          -   Only allow (default) construction of empty objects
          -   Only allow move assignment. The rhs must be empty, but this can
              neither be checked statically nor dynamically.
          -   All construction and assignment is done using special construct() and
              assign() methods.
          -   Destruction is only done using the destruct() method.
      -   Impl::variant_ does no longer rely on standard construction and assignment
          operators (despite the two exceptions) but uses the new special methods
      
      This fixes several bugs and incompatibilities of the old implementation:
      
      -   Non-trivial types are no longer copied binary.
      -   Destructors are now called properly.
      -   Copy/move assignment now decays to copy/move assignment of the stored
          value if it already has the target type.
      -   Unnecessary copies are avoided.
      
      See merge request [!689]
      
        [dune-localfunctions!113]: gitlab.dune-project.org/core/dune-localfunctions/merge_requests/113
        [!689]: gitlab.dune-project.org/core/dune-common/merge_requests/689
      727c0348
    • Carsten Gräser's avatar
      Impove Std::variant implementation · 7d2fa8c3
      Carsten Gräser authored
      * Remove explicit Buffer class and use aligned_storage directly
      * Use a single TypeStorage implementation for all types
      * Rename variant_union_ to VariadicUnion
      * Clean up interfaces and implementation of TypeStorage and VariadicUnion
        * Only allow (default) construction of empty objects
        * Only allow move assignment. The rhs must be empty, but
          this can neither be checked statically nor dynamically.
        * All construction and assignment is done using special
          construct() and assign() methods.
        * Destruction is only done using the destruct() method.
      * Impl::variant_ does no longer rely on standard construction
        and assignment operators (despite the two exceptions) but
        uses the new special methods
      
      This fixes several bugs and incompatibilities of the old
      implementation:
      
      * Non-trivial types are no longer copied binary.
      * Destructors are now called properly.
      * Copy/move assignment now decays to copy/move
        assignment of the stored value if it already
        has the target type
      7d2fa8c3
  14. Jun 26, 2019
  15. Jun 19, 2019
  16. Jun 18, 2019
Loading