- Dec 05, 2019
-
-
Christian Engwer authored
-
Christian Engwer authored
-
- Dec 04, 2019
-
-
Christian Engwer authored
-
- Dec 03, 2019
-
-
Christian Engwer authored
... we now test 200x200 matrices ... we disable the eigenvector test and use the eigenvalue/eigenvector test as it is numerically more stable
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
-
Carsten Gräser authored
Merge branch 'feature/fix-optional-assignment' into 'master' ref:core/dune-common This fixes a bug in the assignment operator of Std::optional which may invoke undefined by moving from an l-value reference. The MR also adds two related checks: - Check that assignment does not move from l-value references. - Check that assignment does move from r-values. See merge request [!722] [!722]: gitlab.dune-project.org/core/dune-common/merge_requests/722
-
Carsten Gräser authored
Using `std::move` with a forwarding reference will also move from l-value references which invokes undefined behaviour if the reference is used afterwards.
-
Carsten Gräser authored
-
- Nov 20, 2019
-
-
Christoph Grüninger authored
Merge branch 'feature/add-std-identity' into 'master' ref:core/dune-common ### What does this MR do? This is an approved struct for the C++20 standard. The implementation comes from the [suggested implementation in cppreference.com]. ### Can this MR be accepted? - [x] Implemented - [x] Added test - [x] Pipeline passing - [x] Added entry to CHANGELOG.md ### Related issues See merge request [!696] [suggested implementation in cppreference.com]: https://en.cppreference.com/w/cpp/utility/functional/identity [!696]: gitlab.dune-project.org/core/dune-common/merge_requests/696
-
-
-
-
-
This is an approved struct for the C++20 standard. The implementation comes from the suggested implementation in cppreference.com
-
- Nov 19, 2019
-
-
Christoph Grüninger authored
-
The name git-whitespace-hook is a bit too generic for a DUNE-specific tool.
-
Christoph Grüninger authored
Merge branch 'feature/remove-transition-code-from-autotools' into 'master' ref:core/dune-common Autotools is gone quite some time now. No need to keep this tools. See merge request [!719] [!719]: gitlab.dune-project.org/core/dune-common/merge_requests/719
- Nov 18, 2019
-
-
Christian Engwer authored
Merge branch 'feature/nonblocking_mpi' into 'master' ref:core/dune-common This MR adds nonblocking communication methods to CollectiveCommunication<MPI_Comm>. Furthermore we introduced a class MPIData that stores an object or a reference and provides information for sending and receiving the object or reference (pointer, length, MPI_Datatype). That works with objects that are represented consecutively in memory (e.g. std::string, std:::vector, Dune::DynamicVector), but could be extended for generic datatypes e.g. used with serialization. The MPIData object is stored within the MPIFuture to ensure that the object stays alive until the communication is complete (does not work with references, of course). For examples see mpifuturetest.cc. TODO: - [x] Add fallback methods to CollectiveCommunication<void> - [x] Add nonblocking MPI benchmark See merge request [!526] [!526]: gitlab.dune-project.org/core/dune-common/merge_requests/526
-
Nils-Arne Dreier authored
-
- Nov 15, 2019
-
-
Christoph Grüninger authored
Autotools is gone quite some time now. No need to keep this tools.
-
Christian Engwer authored
Merge branch 'feature/extend-ptparser-1' into 'master' ref:core/dune-common The parametertree parser can now handle \[prefix\] \# comment key = value See merge request [!246] [!246]: gitlab.dune-project.org/core/dune-common/merge_requests/246 Closes #54
-
Christian Engwer authored
Merge branch 'bugfix/eigenvalues-fieldmatrix' into 'master' ref:core/dune-common - changed parameter w to lwork to be consistent with documentation of dsyev (lapack) - set parameter lwork to 3\*n-1 see dsyev for eigenvalue calculation for dim \< 3 See merge request [!277] [!277]: gitlab.dune-project.org/core/dune-common/merge_requests/277
-
Christian Engwer authored
Merge branch 'issue/aligned_allocator' into 'master' ref:core/dune-common This fixes [#111] ### Summary Added a cmake compile-test to check whether the used standard library provides the function aligned_alloc(). The Dune::AlignedAllocator implementation is adapted, using the introduced config variable DUNE_HAVE_C_ALIGNED_ALLOC. ### Motivation I have added a cmake test for standard library function aligned_alloc() since it cannot be detected in the code whether this function exists. The old test `#if __APPLE__` was not enough. E.g. on our cluster, the standard library does not support aligned_alloc() for some reasons and thus, the compile fails to compile the AlignedAllocator, although there are alternatives already implemented. ### TODO Additionally, I've added an error message if neither aligned_alloc nor posix_memalign is available on a system. But, since I do not have an Apple system I cannot test this completely. The branch can be merged when someone confirms, that the condition #if !(DUNE_HAVE_C_ALIGNED_ALLOC || (_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600)) works fine on systems with Apple's standard library. This test assumes that a posix library of a minimal version always provides the posix_memalign() function. Maybe an additional cmake compile-test should be added to test for this function as well. See merge request [!436] [#111]: gitlab.dune-project.org/NoneNone/issues/111 [!436]: gitlab.dune-project.org/core/dune-common/merge_requests/436 Closes #111
-
Christian Engwer authored
Merge branch 'bugfix/set-python-interpreter-for-virtualenv' into 'master' ref:core/dune-common This makes sure that the python version in the virtualenv matches the one found during configuration. See merge request [!671] [!671]: gitlab.dune-project.org/core/dune-common/merge_requests/671
-
Christian Engwer authored
Merge branch 'fix-failing-mpiguard-test' into 'master' ref:core/dune-common For MPT with gcc 6.x the template parameter C somehow became an anonymous enum leading to usage of GenericGuardCommunicator as an abstract class. This is an attempt to fix this. It is mostly guess work, though. Partial fix for [#76] See merge request [!266] [#76]: gitlab.dune-project.org/NoneNone/issues/76 [!266]: gitlab.dune-project.org/core/dune-common/merge_requests/266
-
- Nov 14, 2019
-
-
Christoph Grüninger authored
Merge branch 'fix/add-include-for-visual-c++' into 'master' See merge request [!718] [!718]: Nonecore/dune-common/merge_requests/718
-
Christoph Grüninger authored
-
- Nov 11, 2019
-
-
Ansgar Burchardt authored
Merge branch 'CheckCXXFeatures-support-for-cxx20' into 'master' See merge request [!717] [!717]: Nonecore/dune-common/merge_requests/717
-