Skip to content
Snippets Groups Projects
  1. Nov 29, 2019
  2. Nov 28, 2019
    • Oliver Sander's avatar
      [!345] Get rid of the UGGrid::heapSize_ data member · 9d2bf027
      Oliver Sander authored
      Merge branch 'get-rid-of-uggrid-heapsize' into 'master'
      
      ref:core/dune-grid \[This is WIP because it needs some minor fixes in
      dune-uggrid.\]
      
      The hand-coded memory heap of UG has been removed from dune-uggrid about a
      year ago. Hence, the heapSize parameter of UGGrid does not have any purpose
      anymore. This patch removes it completely. It only leaves the public method
      setDefaultHeapSize and marks it as deprecated, in order not to break people's
      codes.
      
      See merge request [!345]
      
        [!345]: gitlab.dune-project.org/core/dune-grid/merge_requests/345
      9d2bf027
    • Robert K's avatar
      [!355] Find ParMetis seems to be broken after merge in dune-common. · fffe00f3
      Robert K authored
      Merge branch 'bugfix/find-parmetis-broken' into 'master'
      
      See merge request [!355]
      
        [!355]: Nonecore/dune-grid/merge_requests/355
      fffe00f3
    • Robert K's avatar
      [!312] GridPtr can also read gmsh files and then handle the load balance of user data. · ac8a379b
      Robert K authored
      Merge branch 'feature/gridptr-can-read-gmsh' into 'master'
      
      ref:core/dune-grid This MR adds the ability of reading gmsh files to the
      GridPtr class. This needs testing by some gmsh users.
      
      See merge request [!312]
      
        [!312]: gitlab.dune-project.org/core/dune-grid/merge_requests/312
      ac8a379b
    • Robert K's avatar
      [!322] Use shared_ptr instead of raw pointers in construction of GeometryGrid · 2ede3b8f
      Robert K authored
      Merge branch 'feature/shared-ptr-in-meta-grids' into 'master'
      
      ref:core/dune-grid Previously, raw pointer were used to pass the host grid to
      geometry grid and ownership of the object was transferred. This commit
      switches this to the more modern way of using a shared_ptr for this case. The
      old constructors are deprecated.
      
      This fixes [#86]
      
      See merge request [!322]
      
        [#86]: gitlab.dune-project.org/NoneNone/issues/86
        [!322]: gitlab.dune-project.org/core/dune-grid/merge_requests/322
      
      
      Closes #86
      2ede3b8f
    • Oliver Sander's avatar
      Get rid of the UGGrid::heapSize_ data member · 06b2c40c
      Oliver Sander authored
      The hand-coded memory heap of UG has been removed from dune-uggrid
      about a year ago.  Hence, the heapSize parameter of UGGrid does
      not have any purpose anymore.  This patch removes it completely.
      It only leaves the public method setDefaultHeapSize and marks it
      as deprecated, in order not to break people's codes.
      06b2c40c
  3. Nov 27, 2019
  4. Nov 25, 2019
  5. Nov 18, 2019
    • Robert K's avatar
      [!349] Convenience method referenceElement for Entity. · 6401ab3d
      Robert K authored
      Merge branch 'feature/referenceelement' into 'master'
      
      ref:core/dune-grid This MR adds a convenience method referenceElement for the
      entity class. The following will now be possible:
      
          const auto& refElem = referenceElement( entity );
      
          // forwarding the call the referenceElement< ctype, dim > (entity.type() );
      
      A similar method already exists for the Geometry, however, like the method
      type on Entity, building the geometry maybe expensive and therefore using the
      entities' type method is the appropriate choice here.
      
      See merge request [!349]
      
        [!349]: gitlab.dune-project.org/core/dune-grid/merge_requests/349
      6401ab3d
  6. Nov 09, 2019
  7. Oct 22, 2019
  8. Oct 20, 2019
  9. Oct 13, 2019
  10. Oct 06, 2019
  11. Sep 30, 2019
    • Oliver Sander's avatar
      [!352] add ctype dependent tolerance to grid tests · ff36065a
      Oliver Sander authored
      Merge branch 'issue/test_tolerances' into 'master'
      
      ref:core/dune-grid
      
      ### Summary
      
      Change the fixed hard coded tolerances in grid tests with something related to
      numeric_limits<ctype>::epsilon().
      
      ### Details
      
      Many tolerances in the grid tests are hard coded to something like 1.e-8.
      Those tests will fail if ctype=float. Thus, all those comparisons are changed
      to either sqrt(numeric_limits<ctype>::epsilon()) or
      numeric_limits<ctype>::epsilon(), depending on the previous value.
      
      ### Discussion
      
      The tolerance values seem quite arbitrary. Sometimes it is compared against
      1.e-8, sometimes 1.e-7 or 1.e-6 or 1e3*numeric_limits<ctype>::epsilon(). Maybe
      it would be cleaner to use the FloatCmp utilities and clearly define what's
      the expected accuracy.
      
      See merge request [!352]
      
        [!352]: gitlab.dune-project.org/core/dune-grid/merge_requests/352
      ff36065a
  12. Sep 27, 2019
  13. Sep 17, 2019
    • Oliver Sander's avatar
      [!354] Properly use SOURCES in dune_add_library · 37ada19c
      Oliver Sander authored
      Merge branch 'use-SOURCES-in-dune-add-library' into 'master'
      
      ref:core/dune-grid dune_add_library implicitly treats all unclaimed trailing
      arguments as source file names, but explicitly marking those as SOURCE makes
      the code more readable.
      
      See merge request [!354]
      
        [!354]: gitlab.dune-project.org/core/dune-grid/merge_requests/354
      37ada19c
    • Oliver Sander's avatar
      Properly use SOURCES in dune_add_library · 07001df0
      Oliver Sander authored
      dune_add_library implicitly treats all unclaimed trailing
      arguments as source file names, but explicitly marking
      those as SOURCE makes the code more readable.
      07001df0
  14. Sep 16, 2019
  15. Sep 05, 2019
  16. Aug 01, 2019
    • Steffen Müthing's avatar
      [!350] Truncate denormalized floating point values to 0 when writing ASCII · d91ccd8c
      Steffen Müthing authored
      Merge branch 'bug/do-not-crash-paraview-on-macos' into 'master'
      
      ref:core/dune-grid Paraview (well, probably VTK) on macOS crashes when reading
      ASCII files with denormalized float values. This seems to be due to libc++'s
      IO stream implementation, which sets the fail bit when reading a denormalized
      value. On top of that, Paraview just segfaults when encountering a fail bit
      while loading VTK files.
      
      libstdc++ does not set the failt bit, and I don't know what is the correct
      behavior, but having Paraview mysteriously crash on DUNE output files is not
      good.
      
      So this patch truncates subnormal floating point values to 0 when writing
      ASCII. This should not seriously influence any visualization results, but it
      might trip up people who use exact floating point comparisons for tests (but
      then you shouldn't do that anyway\...).
      
      See merge request [!350]
      
        [!350]: gitlab.dune-project.org/core/dune-grid/merge_requests/350
      d91ccd8c
    • Steffen Müthing's avatar
    • Steffen Müthing's avatar
      [vtk] Truncate denormalized floating point values to 0 when writing ASCII · 7a86be30
      Steffen Müthing authored
      Paraview (well, probably VTK) on macOS crashes when reading ASCII files with
      denormalized float values. This seems to be due to libc++'s IO stream
      implementation, which sets the fail bit when reading a denormalized value.
      On top of that, Paraview just segfaults when encountering a fail bit while
      loading VTK files.
      
      libstdc++ does not set the failt bit, and I don't know what is the correct
      behavior, but having Paraview mysteriously crash on DUNE output files is not
      good.
      
      So this patch truncates subnormal floating point values to 0 when writing ASCII.
      This should not seriously influence any visualization results, but it might trip
      up people who use exact floating point comparisons for tests (but then you
      shouldn't do that anyway...).
      7a86be30
  17. Jul 18, 2019
  18. Jul 09, 2019
  19. Jul 03, 2019
  20. Jun 18, 2019
Loading