- May 05, 2021
-
-
Andreas Dedner authored
-
Andreas Dedner authored
moved the deprecated topology classes to a separate header. The header is included in types.hh for the current release without deprecation warnings but after the 2.8 release the header 'deprecated_topology.hh' will need to be included which contains deprecation warnings.
-
- Apr 30, 2021
-
-
Carsten Gräser authored
-
Carsten Gräser authored
This helper maps a dynamic `GeometryType` to a compile time `std::integral_constant<GeometryType::Id,...>`. Thus is functionally replaces the `IfGeometryType` helper. In contrast to the latter it does not rely on the undocumented implementation of `GeometryType::Id` but on `LocalGeometryTypeIndex` and the generic `Hybrid::switchCase` helper. Furthermore the new helper uses a lambda-friendly callback interface.
-
- Apr 09, 2021
-
-
Christoph Grüninger authored
-
- Mar 31, 2021
-
-
Christoph Grüninger authored
Except for one occurence of DUNE_UNUSED_PARAMETER in type.hh due to GCC bug 81429 which got fixed in GCC 9.3
-
- Mar 26, 2021
-
-
Henrik Stolzmann authored
construction in "dune/geometry/topologyfactory.hh" and "dune/geometry/type.hh".
-
- Mar 24, 2021
-
-
Henrik Stolzmann authored
from `Topology` to `GeometryType`.
-
(10.2 is fine with the test)
-
Henrik Stolzmann authored
Prepared transition from `Topology` template parameter to `GeometryType`. The old Topology construction based on template recursion via the structs `Point`, `Pyramid` and `Prism` is dated.
-
- Mar 12, 2021
-
-
Christoph Grüninger authored
-
- Jan 31, 2021
-
-
Andreas Dedner authored
-
Gregor Corbin authored
-
- Dec 21, 2020
-
-
Gregor Corbin authored
-
Gregor Corbin authored
-
Gregor Corbin authored
-
Gregor Corbin authored
-
Gregor Corbin authored
matched the quad order in the maxima scripts to the definitions in quadraturerules.hh, final cleanup, tested everything
-
- Dec 19, 2020
-
-
Gregor Corbin authored
-
Gregor Corbin authored
-
- Dec 18, 2020
-
-
Gregor Corbin authored
-
Gregor Corbin authored
-
Gregor Corbin authored
-
Gregor Corbin authored
-
Gregor Corbin authored
refactored the writequad maxima script, it produces (apart from comments) the same files as before for jacobi rules and gauss lobatto rules
-
- Oct 02, 2020
-
-
Oliver Sander authored
The AxisAlignedCubeGeometry has always had a constructor that was always intended to be used with dim==coorddim only. However, this precondition was never checked anywhere, which could lead to strange bugs. This patch introduces a static_assert that fails at compile time if the dim==coorddim precondition is not met. BUG: core/dune-geometry#25
-
- Sep 28, 2020
-
-
Kilian Weishaupt authored
* operator does the same as the default-generated one * fixes compiler warning
-
- Apr 23, 2020
-
-
Simon Praetorius authored
-
- Mar 16, 2020
-
-
Nils-Arne Dreier authored
-
- Feb 22, 2020
-
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
- Feb 20, 2020
-
-
Christoph Grüninger authored
-
Christoph Grüninger authored
-
- Feb 16, 2020
-
-
Christoph Grüninger authored
-
Christoph Grüninger authored
The according code was depreated in Dune 2.6
-
- Jan 26, 2020
-
-
Christoph Grüninger authored
Code was deprecated in Dune 2.6
-
Christoph Grüninger authored
-
- Jan 08, 2020
-
-
Janick Gerstenberger authored
-
- Dec 19, 2019
-
-
-
While GeometryType is constexpr and can thus be used in a lot of compile time contexts, C++ does not allow us to declare a template parameter of type GeometryType, as the standard only allows data types that directly map to a built-in integral type for this purpose. On the other hand, GeometryType itself is just a simple 64 bit struct that stores a few integral values, so we can easily map it to an integral type. This patch does just that by adding an opaque nested type GeometryType::Id that is implemented as a scoped enum as well as implicit conversions between GeometryType and GeometryType::Id. By using a scoped enum, we clearly tag the type as something which is not a normal number, because C++ requires explicit conversion between scoped enums and other integral types. The storage layout of the id is chosen identical to that of GeometryType, making conversion between the two almost free. When writing a template with a GeometryType parameter, just use the id instead and convert it back into a GeometryType inside the template: template<GeometryType::Id gt_> class Foo { static constexpr GeometryType gt = gt_; };
-