- Nov 08, 2014
-
-
Jö Fahlke authored
"Makefile.in", "*.o", etc. need only be listed in the toplevel .gitignore, the rules are applied recursively. Test programs etc. should be listed as "/program" in their directory's .gitignore, so they are not accidentially ignored in a lower level directory.
-
Jö Fahlke authored
-
Jö Fahlke authored
assert() works only in debug builds (without -DNDEBUG). Instead, implement our own check_assert().
-
- Nov 07, 2014
-
-
Oliver Sander authored
-
- Nov 06, 2014
-
-
Oliver Sander authored
Rip out the complete test for eigenValuesNonSym and replace it by the Rosser matrix test from fieldmatrixtest.cc The old test was complete nonsense: an implementation of some sort of strange undocumented shape function set that happened to need eigenvalues for something. Lots of undocumented code, and no checks at all whether the values obtained by eigenValuesNonSym actually make sense. Only, for the particular choice of parameters used, eigenValuesNonSym was never called. Yes, you read this correctly: these hundreds of lines of code didn't actually test anything. The new test is copied form fieldmatrixtest.cc and adapted for DynamicMatrix types. It computes eigenvalues of a given 8x8 matrix and compares with the known results. Unfortunately, the test matrix is only symmetric. Tests with more general matrices are left for another day.
-
- Oct 29, 2014
-
-
Uli Sack authored
-
- Oct 08, 2014
-
-
Dominic Kempf authored
-
Dominic Kempf authored
-
Dominic Kempf authored
These classes are deprecated, and some of the tests cause problems with ctest due to a destructor throwing an exception. It seems easier to remove the tests directly, as the tested code is deprecated anyway.
-
- Oct 06, 2014
-
-
Ansgar Burchardt authored
-
Dominic Kempf authored
testdebugallocator_fail{1..5} are a very special sort of tests, as in order to pass they are expected to fail with a signal like SIGABRT or SIGSEGV. While autotools, dont distinguish much about how a test failed, if it is supposed to fail, ctest handles signals from the test and distinguishes this from normal termination with nonzero exit code. This commit introduces a signal handling in the test itself, that causes the program to terminate "normally" with a nonzero exit code instead of passing the signal to the fathering process (ctest). The signal, which is expected to be received can be set from CMakeLists.txt via a preprocessor variable.
-
- Oct 02, 2014
-
-
Jö Fahlke authored
-
- Sep 30, 2014
-
-
Jö Fahlke authored
-
- Sep 24, 2014
-
-
Christoph Gersbacher authored
C++14 will introduce integer/index sequences in the header <utility>. This patch introduces a backwards compatible implementation similar in use. However, the implementation differs in the following technical details: - index_sequence is not a template alias for integer_sequence but inherits from it - make_{integer, index}_sequence are not a template aliases but free standing functions Both differences stem from the absence of template aliases introduced in GCC aa late as gcc-4.7. This implementation will work in gcc-4.4 and later.
-
- Aug 29, 2014
-
-
Christoph Grüninger authored
nullptr-test.cc: Move semicolon to own line to prevent Clang warning. typetraitstest.cc: Exclude use of deprecated types PointeeType and ReferredType with DISABLE_DEPRECATED_METHOD_CHECKS defined.
-
- Jul 07, 2014
-
-
Oliver Sander authored
Test (almost) all methods requested by the STL (as documented on http://www.cplusplus.com/reference/iterator/ForwardIterator/ ) Test whether std::iterator_traits is properly specialized.
-
- May 20, 2014
-
-
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
-
- Apr 17, 2014
-
-
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.
-
- 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
-
Oliver Sander authored
-
- Apr 14, 2014
-
-
Andreas Dedner authored
-
- Apr 09, 2014
-
-
Christoph Grüninger authored
-
- Apr 03, 2014
-
-
Markus Blatt authored
When copying PoolAllocators Bard experienced linking errors to the copy constructor of Pool, which is deactivated. To fix this we added the copy constructor. Note that it does not copy the pool such that ownership of allocated memory chunks is clear. Kudos go to Bard for noticing this and providing the fix. In addition we removed the copy constructor of the specialization for void as the default coy constructor suffices.
-
- Mar 23, 2014
-
-
Christoph Grüninger authored
-
- Mar 22, 2014
-
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
- Mar 18, 2014
-
-
Christian Engwer authored
kudos to Elias Pipping, for details see (FS #1166) as the new Dune requirements are >= g++ 4.4 we are sure that initializer_list is available.
-
- Mar 06, 2014
-
-
Christian Engwer authored
-
Christian Engwer authored
remove output and replace it with assertions.
-
- Dec 17, 2013
-
-
Markus Blatt authored
This patch introduces a new macro DUNE_UNUSED_PARAMETER(parm) for marking unused parameters that are there for a purpose (e.g. the prescribed interfac The macro simply performs a cast to void. In addition all unused parameter w that I found were removed.
-
- Nov 22, 2013
-
-
Christoph Grüninger authored
At least Clang 3.2 complains.
-
- Sep 18, 2013
-
-
Markus Blatt authored
-
- Sep 02, 2013
-
-
Oliver Sander authored
These are replacements for TypeTraits::isPointer, TypeTraits::isReference, TypeTraits::PointeeType. They reimplement what is available in the C++11 standard library, and are expected to supersede the TypeTraits class eventually. Note: this patch does not pull in the corresponding stl implementation.
-