Skip to content
Snippets Groups Projects
  1. Dec 06, 2018
  2. Dec 05, 2018
  3. Dec 03, 2018
  4. Nov 14, 2018
  5. Nov 12, 2018
  6. Nov 08, 2018
  7. Nov 07, 2018
  8. Oct 04, 2018
    • Markus Blatt's avatar
      [!569] Let cmake disable search for modules with pkg-config. · 1e7fbb59
      Markus Blatt authored
      Merge branch 'let-cmake-disable-pkgconfig-search' into 'master'
      
      For whatever reason we still allow to search for a module with pkg-config if
      CMake was not successful. This leads to the weired situation that if we pass
      -DCMAKE_DISABLE_FIND_PACKAGE_dune-uggrid=ON to cmake and dune-uggrid is
      installed in a default sytem path we will end up with a CMakeCache.txt
      actually using dune-uggrid.
      
      This patch is the minimal change to stop searching for a DUNE module with
      pkg-config if CMake was instructed not to use it.
      
      See merge request [core/dune-common!569]
      
        [core/dune-common!569]: gitlab.dune-project.org/core/dune-common/merge_requests/569
      1e7fbb59
    • Markus Blatt's avatar
      Let cmake disable search for modules with pkg-config. · df4c73f6
      Markus Blatt authored
      For whatever reason we still allow to search for a module
      with pkg-config if CMake was not successful. This leads to
      the weired situation that if we pass
      -DCMAKE_DISABLE_FIND_PACKAGE_dune-uggrid=ON to cmake and
      dune-uggrid is installed in a default sytem path we will end
      up with a CMakeCache.txt actually using dune-uggrid.
      
      This patch is the minimal change to stop searching for a
      DUNE module with pkg-config if CMake was instructed not to
      use it.
      df4c73f6
  9. Aug 21, 2018
  10. Aug 08, 2018
  11. Aug 01, 2018
    • Jö Fahlke's avatar
      [!442] added nullopt, in_place and bad_optional_access from std namespace to Dune::Std namespace · 76cf27a3
      Jö Fahlke authored
      Merge branch 'issue/missing_nullopt_in_optional' into 'master'
      
      ### Summary
      
      Import types std::nullopt_t, std::in_place_t, and std::bad_optional_access and
      instances nullopt and in_place of these types into namespace Dune::Std in the
      file <dune/common/std/optional> in case of DUNE_HAVE_CXX_OPTIONAL is defined.
      
      ### Motivation
      
      If you have a compiler with c++17 std::optional support, the std
      implementation is imported into the namespace Dune::Std, but not all Helper
      classes are imported as well, i.e. nullopt_t, nullopt, in_place_t, in_place
      and bad_optional_access are missing. So, I neither can use e.g. std::nullopt
      nor can I use Dune::Std::nullopt, since the first one is defined whenever
      DUNE_HAVE_CXX_OPTIONAL is set and the second one if it is not set.
      
      ### Discussion
      
      For the future it has to be decided, whether std::in_place*** is implemented
      in <dune/common/std/optional> or better in <dune/common/std/utility>, since in
      the std library it is defined there and used not just for optional but also
      for variant and any.
      
      See merge request [core/dune-common!442]
      
        [core/dune-common!442]: gitlab.dune-project.org/core/dune-common/merge_requests/442
      76cf27a3
  12. Jul 19, 2018
  13. Jul 09, 2018
  14. Jul 06, 2018
    • Jö Fahlke's avatar
      [!551] [SIMD] Provide ostream inserters. · 0ff1384d
      Jö Fahlke authored
      Merge branch 'simd-io' into 'master'
      
      Apparently, output of Vc vectors does not work with libc++. I suspect it has
      to do with some hackery Vc does in relation to the standard output streams.
      
      This introduces syntax like
      
            std::cout << Dune::Simd::io(simd_vec) << std::endl;
            std::cout << Dune::Simd::vio(simd_vec) << std::endl;
      
      to produce output like
      
          <1, 2, 3, 4>
      
      The difference between the two versions is that io() will skip the angle
      bracket for one-component vectors, while vio() will always print them.
      
      See merge request [core/dune-common!551]
      
        [core/dune-common!551]: gitlab.dune-project.org/core/dune-common/merge_requests/551
      0ff1384d
    • Jö Fahlke's avatar
      [SIMD] Provide ostream inserters. · b7598f60
      Jö Fahlke authored
      Apparently, output of Vc vectors does not work with libc++.  I suspect it has
      to do with some hackery Vc does in relation to the standard output streams.
      
      This introduces syntax like
      ```c++
        std::cout << Dune::Simd::io(simd_vec) << std::endl;
        std::cout << Dune::Simd::vio(simd_vec) << std::endl;
      ```
      to produce output like
      ```
      <1, 2, 3, 4>
      ```
      
      The difference between the two versions is that `io()` will skip the angle
      bracket for one-component vectors, while `vio()` will always print them.
      b7598f60
    • Jö Fahlke's avatar
      [SIMD] Check for ostream inserters. · 2d104413
      Jö Fahlke authored
      2d104413
    • Jö Fahlke's avatar
      [!550] [DebugAlign] Provide min() and max() overloads. · 65ad01ec
      Jö Fahlke authored
      Merge branch 'debugalign-overload-min-max' into 'master'
      
      A superficial reading of the standard's LessThanComparable requirement may
      suggest that we could actually use std::min() and std::max(). But as it turns
      out this isn't all that clear, see
      <https://cplusplus.github.io/LWG/issue2114>. libc++ chose LessThanComparable
      in a way that requires the result of the comparison to be implicitly
      convertible to bool, which we cannot guarantee as we do not want the debug
      type the automatically decay into its underlying type in all kinds of
      contexts. So we go with the alternative route of overloading min() and max().
      
      Adresses: [core/dune-istl#50]
      
      See merge request [core/dune-common!550]
      
        [core/dune-istl#50]: gitlab.dune-project.org/core/dune-istl/issues/50
        [core/dune-common!550]: gitlab.dune-project.org/core/dune-common/merge_requests/550
      65ad01ec
    • Jö Fahlke's avatar
      [DebugAlign] Provide min() and max() overloads. · 250111a4
      Jö Fahlke authored
      A superficial reading of the standard's LessThanComparable requirement may
      suggest that we could actually use std::min() and std::max().  But as it turns
      out this isn't all that clear, see https://cplusplus.github.io/LWG/issue2114.
      libc++ chose LessThanComparable in a way that requires the result of the
      comparison to be implicitly convertible to bool, which we cannot guarantee
      as we do not want the debug type the automatically decay into its underlying
      type in all kinds of contexts.  So we go with the alternative route of
      overloading min() and max().
      
      Adresses: core/dune-istl#50
      250111a4
  15. Jul 05, 2018
Loading