Skip to content
Snippets Groups Projects
  1. Feb 08, 2016
  2. Sep 01, 2015
  3. Oct 06, 2014
  4. Apr 16, 2014
    • Markus Blatt's avatar
      [g++-4.4] Fixes missing std::initializer_list::const_iterator for g++-4.4. · bd498e0d
      Markus Blatt authored
      With g++-4.4 I got the following errors:
      
      fmatrix.hh:106: error: no type named ‘const_iterator’ in ‘class std::initializer_list<std::initializer_list<int> >’
      
      Looking into the header there is indeed the const_iterator (demanded by the standard)
      missing. Therefore I refactored the code to use std::copy_n and thus am omitting the iterator
      type.
      
      At the same time I made the actual copying safer for the case that the initializer_list
      is of different size and people compile with -DNDEBUG. The assertion for the size is still
      left in there. Remove the assert or the size computation at your discretion.
      bd498e0d
  5. Apr 14, 2014
    • Oliver Sander's avatar
      Change conversion operators (operator K()) to return references instead of values · d6f00739
      Oliver Sander authored
      We simply return a reference to the internal memory instead of copying the object.
      This should save some copying when using FieldVector/FieldMatrix with non-trivial
      types.  Also, it fixes crashes I have experienced with the ADOL-C automatic
      differentiation toolbox [0].
      
      I hope that this patch doesn't have any nasty side effects.  I didn't see any
      so far.  Comments for this patch had been requested in FS 1449, and there have
      been no objections.
      
      [0] I have contacted the ADOL-C maintainer about this and he said the crashes
      are not really bugs in ADOL-C, but that it is simply very difficult to write
      a good operator-overloading AD program that can handle operator K returning
      values.
      d6f00739
  6. Apr 08, 2014
  7. Mar 22, 2014
  8. Mar 18, 2014
  9. Jan 15, 2014
  10. Dec 03, 2013
  11. Oct 02, 2013
  12. 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
  13. Sep 27, 2013
  14. May 31, 2012
    • Oliver Sander's avatar
      Document each header file · 98fbc7b3
      Oliver Sander authored
      With the exception of mpicollectivecommunication.hh
      and propertymap.hh, which I didn't understand.
      
      [[Imported from SVN: r6784]]
      98fbc7b3
  15. Oct 13, 2011
  16. Oct 19, 2010
  17. Oct 18, 2010
  18. 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
  19. Oct 11, 2010
  20. Sep 08, 2010
  21. Jul 08, 2010
  22. Mar 13, 2010
  23. Feb 26, 2010
  24. Feb 01, 2010
  25. Jan 25, 2010
  26. Nov 09, 2009
    • Carsten Gräser's avatar
      *Fix bug in rightmultiply() · 31ef576c
      Carsten Gräser authored
      *Add const to *multiplyany()
      *Implement *multiplyany() for FieldMatrix<k,1,1>
      Thanks to Atgeirr Flø Rasmussen!
      
      [[Imported from SVN: r5704]]
      31ef576c
  27. Nov 04, 2009
  28. Oct 15, 2009
  29. Oct 13, 2009
  30. Oct 02, 2009
  31. Oct 01, 2009
  32. Sep 21, 2009
  33. Jun 16, 2009
    • Sven Marnach's avatar
      Make determinant work for singular matrices · e6057d5f
      Sven Marnach authored
      Note that the current implementation of the determinant is rather
      subobtimal.  While it is rather efficient, it is neither the most
      numerically stable way to compute the determinant, nor does it work
      for integers.  But I think it is much better than no implementation at
      all.
      
      [[Imported from SVN: r5549]]
      e6057d5f
  34. Jun 15, 2009
  35. May 29, 2009
  36. May 11, 2009
Loading