- Feb 28, 2023
-
-
Simon Praetorius authored
Improve specializations of Hybrid::size() See merge request !1209
-
The interfaces tested subsequently for `Hybrid::size(const T& t)` are now * standard tuple-like interface `std::tuple_size<T>::value` (e.g. needed for `std::tuple`), * static constexpr `T::size()` (e.g. needed for `Dune::TupleVector`), * dynamic member function `t.size()` (e.g. needed for `std::vector`). This patch removes a special case for `FieldVector` which is already covered by the `static constexpr size()` case. To ensure this, a corresponding test case was added. Also the documentation of the different cases was fixed. Notice that this does not work necessarily with matrices, because many of them only provide a (potentially `static constexpr`) method `N()` instead of `size()`.
-
Simon Praetorius authored
Add utility IsCompileTimeConstant and use it in HybridFunctor See merge request !1226
-
- Feb 27, 2023
-
-
Christian Engwer authored
[python,parallel] improve compatibility of Dune::Communication<...> and mpi4py See merge request !1230
-
- Feb 26, 2023
-
-
Simon Praetorius authored
Make Field(Matrix|Vector) constructor from initializer_list constexpr See merge request !1234
-
Carsten Gräser authored
-
Carsten Gräser authored
This allos to do ```cpp constxpr M = Dune::FieldMatrix<double,2,2>{ {1,2}, {3,4}}; ``` Notive that `copy_n` is not `constexpr`. Hence we implement this with a manual for loop.
-
- Feb 22, 2023
-
- Feb 21, 2023
-
-
Timo Koch authored
and not the other way around (set the variable only if the checks passed)
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
If there is no python interpreter then it will do nothing.
-
Timo Koch authored
-
-
Timo Koch authored
-
Timo Koch authored
-
Timo Koch authored
-
Robert K authored
off.
-
Robert K authored
-
- Feb 20, 2023
-
-
Simon Praetorius authored
Make Hybrid::switchCases more hybrid See merge request !1231
-
- Feb 16, 2023
-
-
Christian Engwer authored
-
Christian Engwer authored
-
Christian Engwer authored
- add MPI_Comm wrapper - add conversion from mpi4py.MPI.Comm to MPI_Comm wrapper - allow to construct dune.common.Communication from mpi4py.MPI.Comm
-
- Feb 15, 2023
-
-
Simon Praetorius authored
-
Simon Praetorius authored
-