Commit 1872ba3d authored by Robert K's avatar Robert K

[bugfix][dgf] make dgfgridfactory compile when DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS is disabled.

parent 1442095e
Pipeline #1796 passed with stage
in 208 minutes and 30 seconds
......@@ -106,7 +106,11 @@ namespace Dune
template <class Intersection>
int boundaryId(const Intersection &intersection) const
return intersection.boundaryId();
return (intersection.boundary()) ? int(intersection.indexInInside()+1) : int(0);
template< int codim >
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment