Skip to content
Snippets Groups Projects
  1. Jan 23, 2013
  2. Jan 18, 2013
  3. Jan 14, 2013
    • Oliver Sander's avatar
      typo · b0bfdd76
      Oliver Sander authored
      [[Imported from SVN: r7074]]
      b0bfdd76
  4. Jan 01, 2013
  5. Dec 24, 2012
  6. 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
  7. 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
  8. 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
    • Christoph Grüninger's avatar
      Remove unused variable w in fmatrixev.hh. · 16062e07
      Christoph Grüninger authored
      Ignore eigenvaluetest.
      Reordner member variable assignments to avoid pedantic warnings in
      shared_ptr.
      Only activate boundary checking in dynmatrixtest if not already active.
      
      [[Imported from SVN: r7063]]
      16062e07
  9. Nov 21, 2012
    • Markus Blatt's avatar
      Added doxygen documentation. · 1efa83f8
      Markus Blatt authored
      [[Imported from SVN: r7062]]
      1efa83f8
    • Markus Blatt's avatar
      · f2c14313
      Markus Blatt authored
      Capabilities to compute eigenvalues on non-symmetric matrices
      Code contributed by Arne Morten Kvarving.
      
      [[Imported from SVN: r7061]]
      f2c14313
  10. Nov 19, 2012
  11. Nov 11, 2012
  12. Nov 10, 2012
    • Christoph Grüninger's avatar
      [gmp.m4] · f6ed06cb
      Christoph Grüninger authored
      Add check for libgmpxx.
      It should not happen but I had the problem with two systems (Mac OS X
      and Hermit XE6) that gmpxx.hh was found but no libgmpxx.
      
      [[Imported from SVN: r7057]]
      f6ed06cb
  13. Nov 06, 2012
  14. Nov 02, 2012
  15. Oct 25, 2012
  16. Oct 22, 2012
  17. Oct 21, 2012
  18. Oct 19, 2012
  19. Oct 17, 2012
  20. Oct 13, 2012
  21. Oct 10, 2012
    • Christoph Grüninger's avatar
      [dynmatrixtest] · 86854278
      Christoph Grüninger authored
      Add excplicit cast from double literal 0.5 to field_type to avoid Clang warnings.
      
      [[Imported from SVN: r7034]]
      86854278
  22. Oct 09, 2012
    • Oliver Sander's avatar
      Add power implementation with run-time mantissa and compile-time exponent. · 5991ff6b
      Oliver Sander authored
      Taken from hcube.cc in dune-grid.
      
      We may want to unify the naming eventually.
      
      [[Imported from SVN: r7033]]
      5991ff6b
    • Oliver Sander's avatar
      Add a new header power.hh for static computations of the power functions · 74c9a908
      Oliver Sander authored
      There are lots of power implementations all over our code.
      This is the first step of some cleanup.  It moves the class Power_m_p
      from misc.hh (like who's ever gonna find it there...) to a separate
      header power.hh.  Other implementations will be collected there as
      well, if appropriate.
      
      With the patch, including misc.hh will issue a cpp warning that people
      who include misc.hh only for Power_m_p should now include power.hh
      instead.  This is not great, because it also affects people who include
      misc.hh for something else.  Bear with this for a while; I couldn't
      think of a better solution.
      
      [[Imported from SVN: r7032]]
      74c9a908
  23. Oct 08, 2012
Loading