Skip to content
Snippets Groups Projects
  1. Mar 12, 2013
  2. Feb 25, 2013
  3. Feb 22, 2013
  4. Feb 19, 2013
  5. Feb 18, 2013
  6. Feb 14, 2013
    • Christian Engwer's avatar
      do not explicitly check for the compiler in Dune::classname · 47ede078
      Christian Engwer authored
      At least since version 3.0 CLang support __cxa_demangle. To support as
      many compilers as possible we test for the feature instead of testing
      for the compiler version.
      
      Thanks to Andreas Lauser <and@poware.org> for providing this patch
      (see FS #1246)
      
      [[Imported from SVN: r7125]]
      47ede078
  7. Feb 13, 2013
  8. Feb 08, 2013
  9. Feb 07, 2013
  10. Feb 06, 2013
  11. Feb 01, 2013
  12. Jan 28, 2013
  13. Jan 27, 2013
  14. Jan 25, 2013
  15. Jan 24, 2013
  16. Jan 18, 2013
  17. Jan 14, 2013
    • Oliver Sander's avatar
      typo · b0bfdd76
      Oliver Sander authored
      [[Imported from SVN: r7074]]
      b0bfdd76
  18. Jan 13, 2013
  19. Dec 24, 2012
  20. Nov 26, 2012
    • Christoph Grüninger's avatar
      [remoteindices.hh] · e4522fc1
      Christoph Grüninger authored
      Fixed function call in test code, because indexSet_ is a pointer. Clang complained.
      
      [[Imported from SVN: r7068]]
      e4522fc1
  21. Nov 25, 2012
    • Christian Engwer's avatar
      [hash] · ab1f43c9
      Christian Engwer authored
      Add support for boost::hash
      
      This patch adds boost::hash as a fallback option for Dune::hash
      if neither std::hash nor std::tr1::hash can be found. We only
      have to include the appropriate header and import the name into
      the Dune namespace, as the built-in extension mechanism of boost::hash
      will automatically pick up the global hash_value() functions.
      
      To test whether the mechanism actually works, the patch also adds
      boost::hash to the list of hash implementations tested in
      bigunsignedinttest.
      
      Kudos to Steffen Müthing, see FS#1192
      
      [[Imported from SVN: r7067]]
      ab1f43c9
    • Christian Engwer's avatar
      [hash] · 10e69621
      Christian Engwer authored
      Make bigunsignedint hashable using Dune::hash
      
      This patch adds the required hooks to enable hashing of bigunsignedint
      and makes sure the hasher can be invoked in bigunsignedinttest.
      
      Making bigunsignedint hashable also makes it possible to use hash-based
      containers for EntityIDs with YaspGrid and SGrid, as those grids implement
      the EntityID as a plain bigunsignedint.
      
      The patch also adds a little test to bigunsignedinttest, trying to hash
      a bigunsignedint with Dune::hash as well as any of the detected backends
      (std::hash and std::tr1::hash).
      
      Kudos to Steffen Müthing, see FS#1192
      
      [[Imported from SVN: r7066]]
      10e69621
    • Christian Engwer's avatar
      [hash] · 76733f41
      Christian Engwer authored
      Add basic support for hashing using Dune::hash
      
      This patch introduces the functor Dune::hash in a similar manner to
      other C++11 functionality by importing the definition from namespace std.
      
      Apart from that, the patch also provides some basic functionality to simplify
      making user-defined types hashable, in particular functions for combining hashes
      and hashing iterator ranges as well as a mechanism for defining the struct
      specializations required by std::hash and std::tr1::hash in the correct namespace.
      
      The current implementation will first try to use std::hash and, if that fails,
      attempt to fall back on std::tr1::hash. If that is not available either, hash
      support is disabled as there is no homegrown fallback for now.
      The extension mechanism will register the type with both std::hash and std::tr1::hash,
      if available. This should make it possible to use unordered_{set,map} from both C++11
      and TR1 without having to specify a custom hasher.
      
      Kudos to Steffen Müthing, see FS#1192
      
      [[Imported from SVN: r7065]]
      76733f41
  22. Nov 23, 2012
    • Christoph Grüninger's avatar
      [gmpfield.hh] · 4ae9d8d1
      Christoph Grüninger authored
      Remove cast operator that caused Clang warnings.
      This fixes FS#1207.
      
      Kudos to Ansgar Burchardt for the patch.
      
      [[Imported from SVN: r7064]]
      4ae9d8d1
Loading