Skip to content
Snippets Groups Projects
  1. Oct 11, 2013
  2. Oct 02, 2013
  3. Oct 01, 2013
    • Martin Nolte's avatar
      [c++11] add support for C++11 constexpr · 45990b69
      Martin Nolte authored
      As decided on the developer meeting in Aachen, we support (but do not
      rely on) the C++11 keyword constexpr. This patch adds an m4-check for
      constexpr and a header (cxx11.hh) defining a macro DUNE_CONSTEXPR either
      as constexpr or empty (depending on the compiler support for it). It is
      then used in FieldVector and FieldMatrix on size, rows, and cols.
      45990b69
  4. Sep 27, 2013
  5. Aug 22, 2013
  6. Feb 22, 2013
  7. Feb 13, 2013
  8. Nov 25, 2012
    • 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
  9. Nov 21, 2012
    • 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. Oct 19, 2012
  11. Oct 09, 2012
    • 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
  12. Oct 05, 2012
  13. Sep 27, 2012
  14. Sep 26, 2012
  15. Aug 28, 2012
  16. Aug 24, 2012
  17. Aug 22, 2012
    • Martin Nolte's avatar
      add SmartPtr · ee50361d
      Martin Nolte authored
      SmartPtr< T > is similar to shared_ptr< T > in its intention. However, it
      demands methods addReference and removeReference on the object it points to.
      Actually, you could implement shared_ptr< T > through a
      SmartPtr< RefCountWrapper< T > > and a few cast operators.
      
      [[Imported from SVN: r6919]]
      ee50361d
  18. Aug 14, 2012
  19. Aug 06, 2012
  20. Jul 11, 2012
  21. Jun 10, 2012
  22. Mar 20, 2012
  23. Jan 25, 2012
  24. Jan 08, 2012
  25. Aug 11, 2011
  26. Jun 08, 2011
  27. Jun 06, 2011
  28. May 04, 2011
  29. Mar 24, 2011
  30. Mar 14, 2011
  31. Feb 16, 2011
    • Oliver Sander's avatar
      Provide the existing parsing facilities for ParameterTrees in a separate file · b920a3e4
      Oliver Sander authored
      This code used to be in ConfigParser, which I will deprecate in a second.
      The new implementation is inspired by boost: each parser is a global method
      in a namespace.  In our case, that namespace is a class ParameterTreeParser,
      because it needs to have some private methods (ltrim and rtrim, to be
      precise).  On demand, parsers for more formats can be added to this class/file.
      
      I do not insist on any of the details of this new code. However, I wanted
      to have the many architectural change before the creation of the 2.2 release
      branch.
      
      [[Imported from SVN: r6346]]
      b920a3e4
  32. Feb 11, 2011
  33. Dec 21, 2010
  34. Nov 24, 2010
  35. Nov 08, 2010
  36. Oct 19, 2010
  37. Oct 13, 2010
    • Christian Engwer's avatar
      * create a CRTP DenseMatrix class · 39d0a105
      Christian Engwer authored
      * factor out most of the FieldMatrix math methods
      
      missing: several functions oculd not me moved, as they require som
      		 kind of type promotion traits
      
      [[Imported from SVN: r6181]]
      39d0a105
Loading