Skip to content
Snippets Groups Projects
  1. Feb 07, 2013
    • Christoph Gersbacher's avatar
      Move template specializations of matrix capabilities into header. Restrict... · 08eeb8db
      Christoph Gersbacher authored
      Move template specializations of matrix capabilities into header. Restrict call to methods solve(), invert() to invertible matrices.
      
      
      [[Imported from SVN: r7107]]
      08eeb8db
    • Oliver Sander's avatar
      Fix Andreas' previous patch · 405797ed
      Oliver Sander authored
      I shouldn't be doing patch reviews after 2300
      
      Here is Andreas' commit message:
      
      >From 1049843fa0dbc6b340817b0cd69959e742e80d7a Mon Sep 17 00:00:00 2001
      From: Andreas Lauser <Andreas.Lauser@iws.uni-stuttgart.de>
      Date: Wed, 6 Feb 2013 23:33:28 +0100
      Subject: [PATCH] once again: fix dune_unused.m4
      
      my previous attempt was only partially correct: the compiler did not
      chocke because the unused attribute was placed behind the variable,
      but because the third argument of AC_TRY_COMPILE is placed inside the
      main function. it seems like c++ does not support nested functions, so
      the test still failed, leading to the equally undesired result that
      DUNE_UNUSED did not have an effect anymore. Mea culpa!
      
      (this time I have at least double verified, that the compiler does not
      bail out. last time I probably mis-interpreted the wrong lines as the
      output of the dune_unused test in config.log.)
      
      
      [[Imported from SVN: r7106]]
      405797ed
  2. Feb 06, 2013
    • Oliver Sander's avatar
      Fix buggy use of AC_TRY_COMPILE · a1f81535
      Oliver Sander authored
      Thanks to Andreas Lauser for this patch.
      
      Here is his own commit message:
      
      From: Andreas Lauser <and@poware.org>
      Date: Mon, 4 Feb 2013 15:34:22 +0100
      Subject: [PATCH] fix the test for __attribute__((unused))
      
      it contained two errors which "anihilated" themselfs: the first was a
      syntax error in the test itself (the UNUSED macro must be placed
      before the identifier of the variable), which caused the compiler to
      always return an error. this was compensated by an incorrect
      invocation of the AC_TRY_COMPILE macro which featured an empty
      argument as third argument instead of the action to be executed if the
      test succeeded. this in turn always lead the forth argument (which was
      intended by the test to be executed if the test succeeds but was
      actually executed if it failed) to be always triggered. In turn this
      leads me to the conclusion that DUNE was never compiled using a
      compiler which does not support __attribute__((unused)) since this
      macro was introduced...
      
      
      [[Imported from SVN: r7105]]
      a1f81535
    • Christoph Gersbacher's avatar
      Fix segmentation fault in matrix interface check. · fd613e1a
      Christoph Gersbacher authored
      [[Imported from SVN: r7104]]
      fd613e1a
    • Christoph Gersbacher's avatar
      Interface check for DiagonalMatrix + minor fixes. · 157c684f
      Christoph Gersbacher authored
      [[Imported from SVN: r7103]]
      157c684f
    • Christoph Gersbacher's avatar
      Add interface check for FieldMatrix and DynamicMatrix. · f17471bf
      Christoph Gersbacher authored
      [[Imported from SVN: r7102]]
      f17471bf
    • Christoph Gersbacher's avatar
      Add interface check for dense matrices. · 9b2a5671
      Christoph Gersbacher authored
      [[Imported from SVN: r7101]]
      9b2a5671
  3. Feb 02, 2013
  4. Feb 01, 2013
  5. Jan 30, 2013
  6. Jan 28, 2013
  7. Jan 27, 2013
  8. Jan 24, 2013
  9. Jan 23, 2013
  10. Jan 18, 2013
  11. Jan 14, 2013
    • Oliver Sander's avatar
      typo · b0bfdd76
      Oliver Sander authored
      [[Imported from SVN: r7074]]
      b0bfdd76
  12. Jan 13, 2013
  13. Jan 01, 2013
  14. Dec 26, 2012
  15. Dec 24, 2012
  16. 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
  17. 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
  18. 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
  19. Nov 21, 2012
Loading