Skip to content
Snippets Groups Projects
  1. Nov 21, 2014
  2. Nov 13, 2014
    • Jö Fahlke's avatar
      [doc][stackobject_to_shared_ptr()] Improve documentation. · 770f3ba9
      Jö Fahlke authored
      Add "@relatesalso null_deleter", this includes the documentation for the
      function with null_deleter but also leaves a standalone version.  Document
      what is so special about the shared_ptr the function returns.  Mention the
      #include needed to get the function.
      770f3ba9
  3. Nov 08, 2014
  4. Nov 07, 2014
  5. 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
  6. Nov 02, 2014
  7. Oct 29, 2014
  8. Oct 17, 2014
  9. Oct 14, 2014
  10. Oct 13, 2014
  11. Oct 10, 2014
  12. Oct 08, 2014
  13. 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
  14. Oct 02, 2014
    • Jö Fahlke's avatar
    • Carsten Gräser's avatar
      [utility] Add function for printf-like formating · 92031b05
      Carsten Gräser authored
      This basically wraps the raw snprintf in order to provide
      overflow-save printf functionality while hiding the details
      like buffers handling, multiple calls to snprintf, ...
      
      Note that snprintf is a c++11 feature that is, however,
      present in gcc-4.4.
      92031b05
    • Carsten Gräser's avatar
      ec2b55cc
    • Christoph Grüninger's avatar
    • Christoph Grüninger's avatar
      Merge branch 'feature/noexcept' · defc931b
      Christoph Grüninger authored
      Conflicts:
      	cmake/modules/CheckCXX11Features.cmake
      	dune/common/std/CMakeLists.txt
      	dune/common/std/Makefile.am
      	m4/Makefile.am
      	m4/dune_common.m4
      defc931b
    • Dominic Kempf's avatar
      [CMake] Allow adding compile flags upon running make · 10ece11c
      Dominic Kempf authored and Dominic Kempf's avatar Dominic Kempf committed
      Autotools users kept complaining, that it is conceptionally
      disappointing that targets cannot be build with flags set upon
      entering make (e.g. make CXXFLAGS+="-myflag" mytarget). This
      patch introduces a small hack, that allows for such feature
      in cmake. It is, however, (at least) questionable whether we
      want to include it. Still, for your information and convenience:
      
      To use the feature you must:
      - be using a CMake generator that is based on Makefiles (defaults to true)
      - set the define ALLOW_EXTRA_CXXFLAGS to true, e.g. by including
        CMAKE_FLAGS="-DALLOW_EXTRA_CXXFLAGS=1" in your optsfile.
      - reconfigure your project
      
      cmake will then wrap a small shell script around your compiler
      and allow you to append the content of an environment variable
      to yout compiler flags. Run for above example:
      EXTRA_CXXFLAGS="-myflag" make mytarget
      
      The additional flags will be visually confirmed if and only if
      you set the verbosity (as always):
      EXTRA_CXXFLAGS="-myflag" make VERBOSE=1 mytarget
      10ece11c
  15. Oct 01, 2014
  16. Sep 30, 2014
Loading