Skip to content

Commit

Permalink
Added second real world regression for dune
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Abelt committed Feb 7, 2024
1 parent e47ebe4 commit 38df472
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 0 deletions.
16 changes: 16 additions & 0 deletions DunePerfRegression/yasp-type.info
Original file line number Diff line number Diff line change
@@ -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
50 changes: 50 additions & 0 deletions DunePerfRegression/yasp-type.patch
Original file line number Diff line number Diff line change
@@ -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
{

0 comments on commit 38df472

Please sign in to comment.