Skip to content
Snippets Groups Projects
  1. Jun 07, 2019
  2. Jun 05, 2019
  3. Jun 03, 2019
    • Oliver Sander's avatar
      [!342] Change type of volume method to typedef · 94015683
      Oliver Sander authored
      Merge branch 'santiago.ospina/dune-grid-feature/change-type-of-volume-method-to-typedef' into 'master'
      
      ref:core/dune-grid This is a rebased version of [!305] \-\-- I seem unable to
      rebase that one in situ.
      
      See merge request [!342]
      
        [!305]: gitlab.dune-project.org/NoneNone/merge_requests/305
        [!342]: gitlab.dune-project.org/core/dune-grid/merge_requests/342
      94015683
  4. Jun 01, 2019
    • Test User's avatar
      Make Geometry export the return type of the 'volume' method · e06f16d8
      Test User authored and Oliver Sander's avatar Oliver Sander committed
      Previously this was 'ctype', but grids may care about proper
      dimensions.  In that case, a volume is not the same as a
      coordinate, and a separate type for volumes is necessary.
      
      The interface class does not hard-wire any type but rather exports
      the type used by the Geometry implementation class.  That type
      is determined by introspection, there is no need to adapt
      downstream grid implementations.
      e06f16d8
    • Jö Fahlke's avatar
      [!341] Remove std::move from hierachic seach · 6f10b0ec
      Jö Fahlke authored
      Merge branch 'fix/gcc-9-warnings' into 'master'
      
      ref:core/dune-grid Indicated by GCC 9's -Wpessimizing-move
      
      See merge request [!341]
      
        [!341]: gitlab.dune-project.org/core/dune-grid/merge_requests/341
      6f10b0ec
  5. May 31, 2019
  6. May 29, 2019
    • Ansgar Burchardt's avatar
      [!338] remove deprecated warning in albertagrid backuprestore facilities · a8052ebe
      Ansgar Burchardt authored
      Merge branch 'issue/alberta_backuprestore_warning' into 'master'
      
      ref:core/dune-grid
      
      ### Summary
      
      Remove the usage of writeGridXdr and readGridXdr in AlbertaGrid since is
      produces a deprecated warning.
      
      ### Details
      
      The functions writeGridXdr and readGridXdr were simplified to writeGrid and
      readGrid some time ago, but used in the backup-restore facilities of the
      AlbertaGrid. This emits a deprecated warning all the time. This MR, replaces
      the old functions with the new ones.
      
      See merge request [!338]
      
        [!338]: gitlab.dune-project.org/core/dune-grid/merge_requests/338
      a8052ebe
    • Steffen Müthing's avatar
      [!340] Changed hasBackupRestoreFacilities for GeometryGrid [bugfix] · ac8cba05
      Steffen Müthing authored
      Merge branch 'issue/geometrygrid_backuprestore_coordfunction' into 'master'
      
      ref:core/dune-grid
      
      ### Summary
      
      Changes GeometryGrid capabilities to be true for hasBackupRestoreFacilities
      only if the CoordFunction is default constructible
      
      ### Details
      
      Instantiating the BackupRestoreFacilities::restore for
      `GeometryGrid<HostGrid, CoordFunction>` with a CoordFunction that is not
      default constructible leads to an error. This is in contrast to the capability
      hasBackupRestoreFacilities that returns true for this grid.
      
      This MR updates the capabilities to be false if the CoordsFunction is not
      default constructible and adds a tag-dispatching with a runtime-error in case
      someone instantiates the BackupRestoreFacilities with such a CoordsFunction
      nevertheless.
      
      So, the BackupRestoreFacilities can be instantiated without a compile-time
      error and one can use the hasBackupRestoreFacilities for a compile-time check
      whether this should work or not.
      
      ### See Also
      
      Some discussions about how to restore a non-default-constructible
      CoordFunction can be found in [!339]
      
      See merge request [!340]
      
        [!339]: gitlab.dune-project.org/NoneNone/merge_requests/339
        [!340]: gitlab.dune-project.org/core/dune-grid/merge_requests/340
      ac8cba05
    • Simon Praetorius's avatar
    • Simon Praetorius's avatar
      changed geometrygrid capabilities to be true for backup-restore only if... · 959a8bad
      Simon Praetorius authored
      changed geometrygrid capabilities to be true for backup-restore only if coordfunction is default constructible
      959a8bad
  7. May 28, 2019
  8. May 23, 2019
  9. May 21, 2019
  10. May 17, 2019
  11. Apr 04, 2019
    • Carsten Gräser's avatar
      [!330] Avoid unused variable warning without MPI · 0500649f
      Carsten Gräser authored
      Merge branch 'feature/yaspgrid-avoid-unused-variable' into 'master'
      
      ref:core/dune-grid Whatever the mysterious meaning of the mysteryFactor is,
      it's only used in the `#if HAVE_MPI` branch. Hence we should move it there to
      avoid unused variable warnings.
      
      See merge request [!330]
      
        [!330]: gitlab.dune-project.org/core/dune-grid/merge_requests/330
      0500649f
  12. Apr 03, 2019
  13. Mar 29, 2019
  14. Mar 26, 2019
  15. Mar 25, 2019
    • Robert K's avatar
      [!325] Distributed boundary segments. · 8fe069ca
      Robert K authored
      Merge branch 'feature/distributed-boundary-segments' into 'master'
      
      ref:core/dune-grid This MR implements a missing feature in the grid interface,
      the possibility to distribute boundary segments during load balancing. This
      create a problem, because grid readers such as GmshReader only read grid on
      rank 0, and thus boundary segments only exist on that rank. So far there was
      not possibility to re-distribute these segments leading to false boundary
      projections in parallel computations. This MR implements this by providing a
      BoundarySegmentBackupRestore class that allows to re-create a boundary segment
      from a stringstream (char buffer). This requires the registry of a static
      function that can restore the correct object from the stream. The factory is
      necessary because of the type erasure when passing pointers of BoundarySegment
      to the GridFactory. This also means a slight interface change for GmshReader.
      The methods of GmshReader, such as GmshReader::read have to be called on all
      ranks, because the correct BoundarySegment factory methods have to be
      registered on all cores. As before reading is only done on core 0 which
      already was checked in GmshReader before. The other implementation concerns
      the DGF::ProjectionBlock where the boundary projections are now also
      distributable.
      
      Testing has been done with a corresponding branch on dune-alugrid.
      
      See merge request [!325]
      
        [!325]: gitlab.dune-project.org/core/dune-grid/merge_requests/325
      8fe069ca
  16. Mar 22, 2019
  17. Mar 19, 2019
  18. Mar 18, 2019
  19. Feb 19, 2019
  20. Feb 18, 2019
Loading