Skip to content
Snippets Groups Projects
  1. Nov 08, 2014
  2. Nov 07, 2014
  3. Nov 06, 2014
    • Oliver Sander's avatar
      Rip out the complete test for eigenValuesNonSym and replace it by the Rosser... · b9e712ac
      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.
      b9e712ac
    • Oliver Sander's avatar
      eigenValuesNonSym: Set size of the output vector before filling it · da604ca5
      Oliver Sander authored
      Rather than assuming the caller has set it to the correct size already.
      Setting the size in the method eigenValuesNonSym itself makes code
      more robust.  Plus, the time needed for that should be negligible
      compared to the actual eigenvalue computations.
      da604ca5
  4. Oct 29, 2014
  5. Oct 17, 2014
  6. Oct 14, 2014
  7. Oct 08, 2014
  8. Oct 06, 2014
    • Ansgar Burchardt's avatar
      Remove $Id$ keyword. · 650370ae
      Ansgar Burchardt authored
      650370ae
    • Dominic Kempf's avatar
      [test] [CMake] Make debugallocator tests pass with ctest · e2a5a893
      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.
      e2a5a893
  9. Oct 02, 2014
  10. Oct 01, 2014
  11. Sep 30, 2014
  12. Sep 29, 2014
    • Dominic Kempf's avatar
      Add binaryfunctions.hh as an include to CollectiveCommunication · 05f43148
      Dominic Kempf authored
      CollectiveCommunication serves as a fallback implementation, when
      code that is written for parallel computations is executed in sequential.
      The template parameters BinaryFunctions are no-op then, but they are
      still there to define the interface. However, in a generic (parallel)
      implementation these will be given. Including binaryfunctions.hh here
      avoids error messages due to no-op template parameters whose names
      could not be found by the compiler.
      05f43148
  13. Sep 24, 2014
    • Christoph Gersbacher's avatar
      [integer sequence] implement backwards compatible version of integer_sequence · e469a2fb
      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.
      e469a2fb
  14. Sep 16, 2014
  15. Sep 10, 2014
    • Martin Nolte's avatar
      [bugfix] add missing include visibility.hh · 2309b953
      Martin Nolte authored
      When using DUNE_EXPORT, you need to include visibility.hh. This was
      omitted when adding this flag to the Singleton class in singleton.hh.
      This patch adds the missing include.
      2309b953
  16. Sep 08, 2014
  17. Aug 29, 2014
    • Christoph Grüninger's avatar
      Reduce number of warnings. · 6bbf986b
      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.
      6bbf986b
  18. Aug 18, 2014
    • Andreas Lauser's avatar
      parameter tree parser: do not try to access the first character of empty strings · fe8cb3dc
      Andreas Lauser authored
      funnily enough, this usually worked (i.e. it returned some garbage
      which was not recognized by the switch statement that followed), and
      was not detected by valgrind (on my machine at least, I suppose this
      was because the address to which the string pointed was still a valid
      memory location created by some previous user). The libstdc++ debug
      mode (-D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1) did find it
      though...
      fe8cb3dc
  19. Jul 18, 2014
  20. Jul 07, 2014
  21. Jul 06, 2014
Loading