- Feb 06, 2015
-
-
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.
-
- Dec 18, 2014
-
-
Jö Fahlke authored
These check whether std::call_once() works and provide a helpful error message if it does not. They should be used in any code that uses std::call_once(). Call once may not work if one forgets to _link_ with -pthread (or similar options). The nasty think about this is that linking still succeeds, so this can only be detected at run time. We cannot (in general) run compiled programs during configure, since we may be cross-compiling, so whatever we get from configure is at best a guess. Even if configure detects the necessary flags correctly, there may still be errors in the build system such that the executable is linked without them. The reason to provide such a facility is that the bug is quite difficult to debug when it appears. The error message is mangled due to a different bug, and is quite unhelpful anyway. And then there is the fun with weak symbols...
-
- Jul 18, 2014
-
-
Steffen Müthing authored
IteratorRange is a cheap, throwaway container to implement support for range-based for loops if the underlying containers doesn't provide standard begin() / end () methods.
-
- Feb 14, 2014
-
-
Christoph Grüninger authored
These headers were moved in Dune 2.3.
-
- Dec 18, 2013
-
-
Markus Blatt authored
-
- Dec 03, 2013
-
-
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.
-
- Oct 11, 2013
-
-
Christoph Grüninger authored
Thanks to Tobias Malkmus for the heads-up.
-
- Oct 05, 2013
-
-
- Oct 02, 2013
-
-
Martin Nolte authored
The majority of developers favor individual headers for (emulation of) C++11 features over collecting them in a single header cxx11.hh. This patch renames cxx11.hh to constexpr.hh and moves it into the subdirectory std. This is the place most developers would like these headers in (see http://users.dune-project.org/doodles/4).
-
- Oct 01, 2013
-
-
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.
-
- Mar 12, 2013
-
-
Markus Blatt authored
[[Imported from SVN: r7415]]
-
Markus Blatt authored
[[Imported from SVN: r7414]]
-
- Feb 19, 2013
-
-
Markus Blatt authored
Initial message of blocked patch was : Adjusted CMakeLists.txt according to added files. [[Imported from SVN: r7357]]
-
- Sep 27, 2012
-
-
Markus Blatt authored
[[Imported from SVN: r7000]]
-
- Sep 20, 2012
-
-
Markus Blatt authored
[[Imported from SVN: r6988]]
-
- Sep 03, 2012
-
-
Markus Blatt authored
[[Imported from SVN: r6960]]
-
- Aug 31, 2012
-
-
Christoph Grüninger authored
[[Imported from SVN: r6946]]
-
- Aug 10, 2012
-
-
Markus Blatt authored
[[Imported from SVN: r6892]]
-
- Jun 19, 2012
-
-
Markus Blatt authored
[[Imported from SVN: r6808]]
-
- May 22, 2012
-
-
Markus Blatt authored
"lib1 lib2 lib3", which caused an error!) [[Imported from SVN: r6755]]
-
Christoph Grüninger authored
[[Imported from SVN: r6748]]
-
Christoph Grüninger authored
[[Imported from SVN: r6747]]
-
- May 19, 2012
-
-
Markus Blatt authored
libraries under the same name. [[Imported from SVN: r6731]]
-
- May 16, 2012
-
-
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]]
-
- Apr 30, 2012
-
-
Markus Blatt authored
test directory is excluded from all and apparently not considered during make install [[Imported from SVN: r6674]]
-
- Apr 29, 2012
-
-
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]]
-
- Apr 22, 2012
-
-
Markus Blatt authored
have to specified during linking because it is implied by dunecommon. [[Imported from SVN: r6644]]
-
- Apr 20, 2012
-
-
Markus Blatt authored
Produce and install a preliminary package configuration file. [[Imported from SVN: r6641]]
-
- Apr 11, 2012
-
-
Markus Blatt authored
directories. This seems to be more manageable. - Deactivated building of the test during make all. Seems annoying to our users. - Introduced make check mimicing autotools. Tests still fail where they should not. [[Imported from SVN: r6610]]
-
- Apr 03, 2012
-
-
Markus Blatt authored
The documentation is still not built and therefore not installed [[Imported from SVN: r6602]]
-
- Mar 14, 2012
-
-
Christoph Grüninger authored
Create libdunecommon.la in the right directory. [[Imported from SVN: r6589]]
-
- Mar 09, 2012
-
-
Christoph Grüninger authored
directory. [CMake] make builds more than half of the tests. [[Imported from SVN: r6580]]
-
- Mar 04, 2012
-
-
Christoph Grüninger authored
Only ctest is working. [[Imported from SVN: r6577]]
-