diff --git a/DunePerfRegression/yasp-type.info b/DunePerfRegression/yasp-type.info new file mode 100644 index 0000000..b108a3a --- /dev/null +++ b/DunePerfRegression/yasp-type.info @@ -0,0 +1,16 @@ +description: Reproduces a real-world regression from the dune project related to the type overload of the yasp grid. See https://gitlab.dune-project.org/core/dune-grid/-/issues/146 for details. +include_revisions: + revision_range: + start: 559e763958113c8e6c31a3569127781cadb5a535 +path: yasp-type.patch +project_name: DunePerfRegression +shortname: yasp-type +tags: +- dune +- compile-time +- regression +- template +- grid +- YaspGrid +- perf_prec +- real_world diff --git a/DunePerfRegression/yasp-type.patch b/DunePerfRegression/yasp-type.patch new file mode 100644 index 0000000..6ec54fe --- /dev/null +++ b/DunePerfRegression/yasp-type.patch @@ -0,0 +1,50 @@ +Submodule dune-grid contains modified content +diff --git a/dune-grid/dune/grid/yaspgrid/yaspgridentity.hh b/dune-grid/dune/grid/yaspgrid/yaspgridentity.hh +index 702e19de8..d15fb44b2 100644 +--- a/dune-grid/dune/grid/yaspgrid/yaspgridentity.hh ++++ b/dune-grid/dune/grid/yaspgrid/yaspgridentity.hh +@@ -299,14 +299,6 @@ namespace Dune { + return Geometry(_geometry); + } + +- /** \brief Return the name of the reference element. The type can +- be used to access the Dune::ReferenceElement. +- */ +- constexpr GeometryType type () const +- { +- return GeometryTypes::cube(Geometry::mydimension); +- } +- + /*! Return number of subentities with codimension cc. + * + * That number is (dim over (dim-codim)) times 2^codim +@@ -539,14 +531,6 @@ namespace Dune { + return Geometry( _geometry ); + } + +- /** \brief Return the name of the reference element. The type can +- be used to access the Dune::ReferenceElement. +- */ +- constexpr GeometryType type () const +- { +- return GeometryTypes::cube(Geometry::mydimension); +- } +- + /*! Return number of subentities with codimension cc. + * + * That number is (dim over (dim-codim)) times 2^codim +@@ -877,14 +861,6 @@ namespace Dune { + return Geometry( _geometry ); + } + +- /** \brief Return the name of the reference element. The type can +- be used to access the Dune::ReferenceElement. +- */ +- constexpr GeometryType type () const +- { +- return GeometryTypes::cube(Geometry::mydimension); +- } +- + //! return partition type attribute + PartitionType partitionType () const + {