- Jun 22, 2014
-
-
Andreas Dedner authored
NDEBUG is undefined (allows to tests asserts without doubling call to all interface methods). NDEBUG needs to be undefined and DUNE_INTERFACECHECK needs to be defined to check the correct implementation of CRT interface methods.
-
- Jun 03, 2014
-
-
Markus Blatt authored
-
Markus Blatt authored
-
- May 22, 2014
-
-
getrusage() is a very expensive system call and involves several kernel locks. This prevents multithreaded applications from scaling effectively. Using std:chrono::high_resolution_clock is portable and very low cost in most cases.
-
- May 20, 2014
-
-
Christian Engwer authored
-
Christian Engwer authored
This avoids compiler warning about implicitly rounded to zero
-
Christian Engwer authored
-
Christian Engwer authored
This reverts commit cf4bf4d8. The epxlicit cast isn't needed anymore as we have a fix for the ambiguous operator overload.
-
Marco Cecchetti authored
The bug affected operators: +=, -=, *=, /=. It has been fixed by using: enable_if<is_convertible<ParamType, FieldVector::valueType>, ...>
-
- May 15, 2014
-
-
Oliver Sander authored
-
Oliver Sander authored
-
- May 14, 2014
-
-
Oliver Sander authored
-
- May 11, 2014
-
-
Christoph Grüninger authored
This was used for backwards compatibility only.
-
- May 02, 2014
-
-
Christian Engwer authored
-
- May 01, 2014
-
-
Christoph Grüninger authored
Complained by autoconf 1.14, cf. FS#1462. Thanks to Claus for the heads-up.
-
Christoph Grüninger authored
Like 2a4965d9 for autotools. Cf. FS#1445
-
Christoph Grüninger authored
Cf. FS#1461.
-
Christoph Grüninger authored
The variable is was set and used by dunecontrol but not by duneproject.
-
- Apr 28, 2014
-
-
Markus Blatt authored
-
Markus Blatt authored
It is INCLUDE_DIRECTORIES and not COMPILE_DIRECTORIES.
-
Markus Blatt authored
Previously, parmetis flags were not added as we used PARMETIS_COMPILE_FLAGS which does not exist. This patch now sets the properties COMPILE_DEFINITIONS and INCLUDE_DIRECTORIES for the targets and uses the correct values.
-
- Apr 27, 2014
-
-
Christoph Grüninger authored
Needed to build the documentation only for make doc. Avoid name clashes by adding MANGLE_TARGET_NAMES. With CMake 3.0.0 no more warnings are emitted by building the documentation.
-
Christoph Grüninger authored
Whitespace changes where necessary to please the git commit hook.
-
- Apr 17, 2014
-
-
Christoph Grüninger authored
Previously only dune-foo/bar/*/test worked. Now dune-foo/test works, too.
-
Markus Blatt authored
-
Markus Blatt authored
oelements stores longs which need to be converted to pointers before freeing. Previously we actually free the entries of the array oelements and not the stored pointers.
-
Markus Blatt authored
There might be liftime issues with the allocated memory when copying a pool. Therefore I added a check whether the memory was actually allocated by the pool when freeing it.
-
- Apr 16, 2014
-
-
Andreas Dedner authored
(the problem are operators of the type FieldVector<double,1> *= int) clang fails and gcc (4.7) warns about ISO C++ saying that these operators are aambiguous
-
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.
-
Oliver Sander authored
- Apr 14, 2014
-
-
Steffen Müthing authored
-
Steffen Müthing authored
-
Steffen Müthing authored
As we have bumped our compiler requirements to GCC 4.4+, we can now require the compiler to support C++11. This patch updates both the autotools and the CMake tests to produce an error if the compiler doesn't support either -std=c++11 or -std=c++0x. It also renames the tests from ..0X to ..11 and renames the configure options from --disable-gxx0xcheck to --disable-cxx11check and removes a couple of redundant calls to the autotools macro.
-
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.
-
Andreas Dedner authored
-
- Apr 13, 2014
-
-
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.
-
- Apr 10, 2014
-
-
Oliver Sander authored
Unfortunately, git-log doesn't use this file by default. Only git-blame and git-shortlog do. Thanks to Elias Pipping for the hint about mailmap.
-