Skip to content
Snippets Groups Projects
  1. Jan 29, 2014
    • Markus Blatt's avatar
      [poolallocator,release] Use a non-static memory pool. · f78ce3a8
      Markus Blatt authored
      Due to its desgin of using one static memory pool. The allocator
      could not be used in different threads at the same time without
      side effects. With this revision each instance will hold its own private
      instance of the pool.
      
      There should be no issues with this patch and poolallocator seems to be
      mostly used in AMG anyway.
      f78ce3a8
  2. Jan 17, 2014
  3. Jan 16, 2014
  4. Jan 15, 2014
  5. Jan 14, 2014
  6. Jan 10, 2014
  7. Jan 06, 2014
  8. Dec 18, 2013
  9. Dec 17, 2013
  10. Dec 16, 2013
  11. Dec 13, 2013
  12. Dec 03, 2013
  13. Dec 02, 2013
  14. Nov 22, 2013
  15. Nov 15, 2013
  16. Nov 13, 2013
  17. Oct 29, 2013
    • Martin Nolte's avatar
      [bugfix] Prohibit copy constructor of DenseVector · d8ec10b4
      Martin Nolte authored
      DenseVector is the base class of a CRTP. This is kind of an abstract
      class that works only if it can be casted into a derived type. Copying
      the base class is pointless.
      
      This patch marks the copy constructor of DenseVector private (not even
      implementing it), so that it cannot be called anymore. Once we have a
      DUNE_DELETE macro, we should use it, here.
      
      At the same time, the default constructor is marked protected, so that only
      derived classes can instantiate a DenseVector. Notice that this does not
      prevent the user from building a derivced class which does not pass
      itself as implementation to DenseVector. It is (to my knowledge) not possible
      to make CRTPs completely fail-safe.
      d8ec10b4
  18. Oct 23, 2013
    • Steffen Müthing's avatar
      [Hash][Bugfix] Add a working hash combining algorithm for 32-bit platforms · 42dacc67
      Steffen Müthing authored
      As Carsten pointed out, the hash combining algorithms doesn't work
      correctly for 32-bit platforms because it uses a multiplication with
      a 64-bit constant.
      
      This patch adds a switch for picking different algorithms based on the
      size of std::size_t using a new struct hash_combiner that is templated
      on the size of std::size_t.
      
      Right now, there are implementations for 64-bit and 32-bit platforms,
      both based on CityHash.
      42dacc67
  19. Oct 17, 2013
  20. Oct 14, 2013
  21. Oct 11, 2013
  22. Oct 09, 2013
    • Steffen Müthing's avatar
      [Buildsystem] Provide macros for explicitly marking symbols as exported or private · e628bebd
      Steffen Müthing authored
      This patch adds a new header visibility.hh with macros DUNE_EXPORT and DUNE_PRIVATE
      to mark symbols as exported or private at the ABI level.
      
      While we do not explicitly mark any symbols as hidden, there are certain situations
      in which the compiler creates symbols with incorrect linkage, especially for singleton
      accessor methods for templated types and their embedded static variables, which involve
      the creation of weak symbols.
      
      The linker is then unable to merge those weak definitions, causing either a link-time
      failure (when building static libraries) or undefined runtime behaviour (dynamic libraries).
      
      This problem can be avoided by explicitly marking the singleton accessor methods as
      DUNE_EXPORT. For symmetry, there is also a DUNE_PRIVATE macro, but while it works, I don't
      see it used very much in the short term.
      e628bebd
  23. Oct 05, 2013
  24. Oct 04, 2013
  25. Oct 02, 2013
Loading