- Dec 16, 2024
-
-
Timo Koch authored
-
Santiago Ospina De Los Ríos authored
Use std::fill for FVector's constructor with single scalar argument See merge request !1485
-
Simon Praetorius authored
Remove duplicates in ALL_DEPENDENCIES See merge request !1489
-
- Dec 15, 2024
-
-
Christoph Grüninger authored
Make DUNE_THROW usable in constexpr context See merge request !1472
-
Christoph Grüninger authored
Found by Cppcheck (useStlAlgorithm).
-
-
-
Instead of using a `do ... while` loop, this extends the exception with `operator<<` such that one can directly pipe in values. The extension is done via the new class `Dune::ExceptionStream<E>` that derives from `E` and implements `operator<<`. As a by-product one can now also pipe values after `DUNE_THROW` e.g. using ```cpp DUNE_THROW(E, "foo" << 1) << 2 << 3; ``` For completeness this also adds support for ```cpp DUNE_THROW(E) << 2 << 3; ``` Notice that `DUNE_THROW` exists for two main reasons: For (a) conveniently add the error location to the message and (b) providing the stream functionality. With this patch the second reason is void and no longer reguires a macro, because one can directly use: ```cpp throw Dune::ExceptionStream<E>() << 2 << 3; ``` exc
-
- Dec 14, 2024
-
-
-
Simon Praetorius authored
Throw before reaching undefined behavior on AlignedNumber allocation See merge request !1483
-
- Dec 13, 2024
-
-
With this commit, AlignedNumber throws an exception whenever a placement new is made with a misaligned address. This should effectively catches an undefined behavior on the library implementations of operator new() under misaligned addresses.
-
- Dec 12, 2024
-
-
Simon Praetorius authored
[CI] Remove the variable DUNE_RUNNING_IN_CI from the local gitlab-ci See merge request !1488
-
Simon Praetorius authored
Fix/cmake module path See merge request !1486
-
- Dec 11, 2024
-
-
Mathis Kelm authored
-
Mathis Kelm authored
-
- Dec 10, 2024
-
-
Simon Praetorius authored
-
Simon Praetorius authored
Remove the variable DUNE_RUNNING_IN_CI from the local gitlab-ci, since already set in the docker image
-
Simon Praetorius authored
[ci] Make .gitlab-ci.yml portable See merge request !1482
-
Simon Praetorius authored
Deprecate the MODULE_LIBRARIES argument to dune_enable_all_packages Closes #387 See merge request !1475
-
- Dec 04, 2024
-
-
Simon Praetorius authored
Do not inherit global variables in a triggered pipeline See merge request !1487
-
- Dec 03, 2024
-
-
Simon Praetorius authored
-
- Dec 02, 2024
-
-
Carsten Gräser authored
Currently the CI config requires that the `core/ci-config` project exists on the same gitlab server. This prevents the CI from working when pushing the repository to another server. While one may argue, that one also has to push `core/ci-config` then, it is a very strong restriction to require that the gitlab group `core` is available. This can be avoided by using a gitlab remote include for those files with a link pointing to the dune server instead of a local include.
-
- Nov 29, 2024
-
-
Simon Praetorius authored
Improve the error message in the DenseMatrixAssigner for DiagonalMatrix See merge request !1480
-
Simon Praetorius authored
-
Santiago Ospina De Los Ríos authored
Link all targets in a directory against Dune::Common See merge request !1481
-
- Nov 28, 2024
-
-
-
-
-
Simon Praetorius authored
Deactivate transposetest for DiagonalMatrix See merge request !1478
-
- Nov 26, 2024
-
-
Simon Praetorius authored
-
Simon Praetorius authored
-
Simon Praetorius authored
-
- Nov 25, 2024
-
-
Santiago Ospina De Los Ríos authored
Use targets in duneproject See merge request !1460
-
- Nov 22, 2024
-
-
Carsten Gräser authored
[bugfix] Don't implent operator<< templated wrt the stream See merge request !1476
-
Carsten Gräser authored
When implementing `operator<<(S& , const T&)` to provide character stream support for a custom type `T`, the overload should be specific to `S=std::ostream` and not be templated wrt `S`. Otherwise this may lead to ambiguous overloads downstream. To give two examples for problematic cases: Here we defined an overload ```cpp template<class Stream, class T, std::size_t N> inline Stream& operator<<(Stream&, const std::array<T,N>&) ``` If a downstream module wants to defines an overload ```cpp template<class A> inline std::ostream& operator<<(std::ostream&, const A&) ``` for a custom type `A` derived from `std::array<T,N>`, this leads to ambiguity. If a custom class `S` that does not represent a character stream wants to use the `s << t` syntax in anoter context, this cannot be done for cases where `t` is an `std::array`. Furtermore the overload that we provide here may in general not make any sense in this context. BTW: One may argue that defining overloads for `std::` types is in general a very bad idea. Imagine that another library does the same - then we cannot use it together with dune, because both claim to be the authority over `std::`.
-
- Nov 19, 2024
-
-
Simon Praetorius authored
Fix wrong variable name to make target hash See merge request !1469
-
- Nov 16, 2024
-
-
Simon Praetorius authored
Add precompiled code into the python module in the expensive test See merge request !1465
-
- Nov 15, 2024
-
-
Santiago Ospina De Los Ríos authored
-
- Nov 11, 2024
-
-
Simon Praetorius authored
-