Skip to content
Snippets Groups Projects
  1. 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
  2. Apr 13, 2014
    • Christoph Gersbacher's avatar
      [type traits] Provide replacement for deprecated classes AlwaysFalse, AlwaysTrue · 4665e135
      Christoph Gersbacher authored
      The classes AlwaysFalse, AlwaysTrue reside in the deprecated header
      dune/common/static_assert, yet they are frequently used to document
      template code (see FS#1435 for details). As the C++11 standard library
      does not provide a straight forward replacement for theses classes, we
      offer C++11 style reimplementations. The replacements to_false_type,
      to_true_type reside in the namespace Std and are thus easily
      identifiable as Dune specifis.
      4665e135
  3. Apr 10, 2014
  4. Apr 09, 2014
  5. Apr 08, 2014
  6. Apr 07, 2014
  7. Apr 03, 2014
  8. Apr 02, 2014
  9. Mar 27, 2014
  10. Mar 23, 2014
  11. Mar 22, 2014
  12. Mar 21, 2014
  13. Mar 19, 2014
  14. Mar 18, 2014
Loading