Skip to content
Snippets Groups Projects
  1. Feb 06, 2015
    • Steffen Müthing's avatar
      [Utility] Add infrastructure to handle operator->() for both lvalues and proxies · 7623a530
      Steffen Müthing authored
      If an iterator facade (like entity iterators) wants to allow the
      embedded implementation to return either an (internally stored)
      reference or a temporary object and expose these two behaviors to enable
      performance optimizations, operator->() needs special handling: If the
      implementation returns a reference, operator->() in the facade can
      simply return the address of the referenced object, but if the returned
      object is a temporary, we need to capture and store it in a helper
      object to make sure it outlives the member access.
      
      This patch adds a little helper function that tansparently handles both
      cases.
      7623a530
  2. Jul 18, 2014
  3. Feb 14, 2014
  4. Dec 18, 2013
  5. Dec 03, 2013
    • Christoph Gersbacher's avatar
      Implement read-only IdentityMatrix · 64df6274
      Christoph Gersbacher authored
      This implementation of an IdentityMatrix does not hold any data. It
      implements a reduced version of the DenseMatrix interface including a
      standard C++ cast operator to a Dune::FieldMatrix. This code illustrates
      the new forward capabilities of DenseMatrixAssigner.
      64df6274
  6. Oct 11, 2013
  7. Oct 05, 2013
  8. Oct 02, 2013
  9. 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
  10. Mar 12, 2013
  11. Feb 19, 2013
  12. Sep 27, 2012
  13. Sep 20, 2012
  14. Sep 03, 2012
  15. Aug 31, 2012
  16. Aug 10, 2012
  17. Jun 19, 2012
  18. May 22, 2012
  19. May 19, 2012
  20. May 16, 2012
    • Markus Blatt's avatar
      Package configuration files and find_package use the regular dune · a5e49b88
      Markus Blatt authored
      modul name (lower case with dashes).
      
      These leads to kind of weired variabable names (dune-common_DIR,
      dune-common_LIBRARIES, etc.) but finds non-installes modules
      easier. You just sets CMAKE_PREFIX_PATH to the directory containing
      the modules.
      
      [[Imported from SVN: r6724]]
      a5e49b88
  21. Apr 30, 2012
  22. Apr 29, 2012
    • Markus Blatt's avatar
      Completed adaptation of duneproject. It now creates a complete · 3c418763
      Markus Blatt authored
      infrastructure to use the module with cmake.
      
      Currently, only an installed dune-common can be used, as the others
      lack the cmake confguration files. One has to provide the
      CMAKE_MODULE_PATH pointing to the directory where
      e.g. DuneMacros.cmake is installed (PREFIX/share/cmake/modules) and 
      DuneCommon_DIR pointing to PREFIXlib/cmake.
      
      The ${CMAKE_BINARY_DIR}/config.h.cmake of the project is created such
      that it includes section from modules that it depends on as well as
      the ${CMAKE_SOURCE_DIR}/config.h.cmake. This prevents user from
      creating a full file by hand.
      
      Renamed package configuration files according to the style of the 
      other modules.
      
      [[Imported from SVN: r6661]]
      3c418763
  23. Apr 22, 2012
  24. Apr 20, 2012
  25. Apr 11, 2012
  26. Apr 03, 2012
  27. Mar 14, 2012
    • Christoph Grüninger's avatar
      [CMake] · d0f02ad2
      Christoph Grüninger authored
      Create libdunecommon.la in the right directory.
      
      [[Imported from SVN: r6589]]
      d0f02ad2
  28. Mar 09, 2012
  29. Mar 04, 2012
Loading