- Feb 23, 2025
-
-
find_package(module) will fail if the directory set with module_DIR does not contain CMake configuration file. Hence the current approach requires that there are pkgconfig files installed and found for each module to be used. With this change we fall back to installed modules if the directory does not contain any Cmake configuration files. This fixes problems with using OPM as DUNE modules (in Debian) which stopped shipping broken pkgconf file 2023-09
-
- Feb 18, 2025
-
-
Santiago Ospina De Los Ríos authored
Add preprocessor macro DUNE_ASSUME See merge request !1346
-
-
Simon Praetorius authored
IsDenseMatrix for transposed matrix-view See merge request !1496
-
- Feb 17, 2025
-
-
Simon Praetorius authored
-
- Feb 06, 2025
-
-
Christoph Grüninger authored
[cleanup] Remove old code in Dune::Timer See merge request !1504
-
- Feb 05, 2025
-
-
-
Storing duration in doubles is sub-optimal as each cast may incur in truncation. Accumulations may also truncate the value further. Using the native value preserves the duration unit user request its value in seconds. Use duration_cast instead of division: Interestingly, dividing by 1.0s yields a different (slightly longer) assembly code than when making an explicit cast to seconds. The difference seems to me is the cast manages to generate SEE vector registers/instructions.
-
`Dune::Timer` includes two alternative implementations for measuring time. Historically one was based on `getrusage()` and the other one on `std::clock()`. The former was the default and the latter could be enabled by defining a macro. Both in fact measured the time spend computing by the process. In `fa43f4bf` the default code path was changed from `getrusage()` to `std::chrono::high_resolution_clock::now()` while `std::clock()` could still be enabled by the macro. This was in fact a breaking change because the new default version measures the elapsed real time. This patch removed the non-default version based on `std::clock` because: * The breaking change happened almost 11 years so one can consider the new behavior the established 'correct' version. * The macro switch was neither documented nor tested. * Setting the macro manually in user code is error prone. * Both versions do completely different things leading to different measurements. It's not even clear that one produces larger numbers in general: `std::clock` adds up time spend computing in all threads of the process. Thus time in concurrent threads is added up, while the time a thread is sleeping is not counted. There a minor grain of salt: The documentation still documented the old behaviour and instead of 'fixing' the code this patch adjusts the documentation to established reality.
-
- Feb 04, 2025
-
-
Santiago Ospina De Los Ríos authored
Fix wrong license in build system doc See merge request !1508
-
Santiago Ospina De Los Ríos authored
-
Santiago Ospina De Los Ríos authored
Move build system doc license to another file See merge request !1507
-
- Feb 03, 2025
-
-
Santiago Ospina De Los Ríos authored
-
- Jan 30, 2025
-
-
Christoph Grüninger authored
More constexpr! See merge request !1459
-
Add constexpr qualifiers on many functions Add constexpr backport versions of std::abs and std::sqrt
-
- Jan 23, 2025
-
-
Christoph Grüninger authored
Install libraries in root build path instead on project build path See merge request !1467
-
-
- Jan 21, 2025
-
-
Andreas Dedner authored
fix some issues with deprecations for pypi packaging See merge request !1503
-
- Jan 18, 2025
-
-
Santiago Ospina De Los Ríos authored
Ignore unused variables in debugaligntest See merge request !1505
-
- Jan 17, 2025
-
-
Santiago Ospina De Los Ríos authored
-
Santiago Ospina De Los Ríos authored
Add preprocessor macro DUNE_FORCE_INLINE See merge request !1502
-
-
- Jan 16, 2025
-
-
Andreas Dedner authored
-
- Jan 14, 2025
-
-
Santiago Ospina De Los Ríos authored
Add implementation of bit_width to big unsigned int See merge request !1468
-
- Jan 13, 2025
-
-
- Jan 10, 2025
-
-
Carsten Gräser authored
Replace integerSequenceEntry by get See merge request !1443
-
- Jan 09, 2025
-
-
Simon Praetorius authored
-
Simon Praetorius authored
Make conjugateComlex and sign constexpr See merge request !1498
-
- Dec 30, 2024
-
-
Simon Praetorius authored
Provide library utilities for the three way comparison operator <=> See merge request !1495
-
Simon Praetorius authored
Add Number concept in terms of IsNumber See merge request !1493
-
Simon Praetorius authored
[dunecontrol] Module without CMakeLists.txt next to dune.module is installed Closes #399 See merge request !1474
-
- Dec 29, 2024
-
-
Simon Praetorius authored
-
Simon Praetorius authored
Add concept indirectly_copyable to constrain the DenseMatrixAssigner See merge request !1492
-
Simon Praetorius authored
-
Simon Praetorius authored
Set default include directories in targets generated by duneproject See merge request !1497
-
Simon Praetorius authored
-
- Dec 18, 2024
-
-
Simon Praetorius authored
-
The decision whether a module is installed is usually based on whether pkgconfig was able to find it. If the DUNE module does not ship a pkgconf file or pkgconf is missing, then dunecontrol tries to build this installed modules, too. That fails miserably. With this commit we add a check at the end that checks whether there is a CMakeLists.txt file in the source directory of the module. This directory is where the dune.module file was found. If there is none we also assume that the module is installed and do not try to build it.
-
Simon Praetorius authored
[cmake] Require linked libs through find_dependency See merge request !1464
-
- Dec 16, 2024
-
-
Santiago Ospina De Los Ríos authored
-