Skip to content
Snippets Groups Projects
  1. May 04, 2022
  2. May 03, 2022
    • Dennis Gläser's avatar
      Merge branch 'fix/grid-geom-thread-safe' into 'master' · cefb6a43
      Dennis Gläser authored
      [bugfix][gridgeometry] Always construct bboxtree and element map
      
      Closes #1151
      
      See merge request !3095
      cefb6a43
    • Timo Koch's avatar
      [bugfix][gridgeometry] Always construct bboxtree and element map · e23967f7
      Timo Koch authored
      A thread-safe implementation with double-checked lock needs atomic load/store
      operations to update the pointer to be thread-safe. Alternatively, a lock
      has to be acquired every time when the function is called. Both implementations
      impair the scalability of the multihreaded assembly (in the case of tpfa, or
      any simulation that uses element maps or bounding box tree on an element level).
      
      This changes the beahviour to always build the tree and the element map. This
      usually occurs little runtime overhead in cases where the features are unused.
      It is the most performant version as soon as one of the features is used.
      There is however some memory overhead in the order of one or more ints per
      element (seeds) and a bounding box hierarchy.
      e23967f7
    • Timo Koch's avatar
  3. May 02, 2022
  4. Apr 29, 2022
  5. Apr 28, 2022
  6. Apr 27, 2022
Loading