Skip to content
Snippets Groups Projects
Commit 1872ba3d authored by Robert K's avatar Robert K
Browse files

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

parent 1442095e
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -106,7 +106,11 @@ namespace Dune
template <class Intersection>
int boundaryId(const Intersection &intersection) const
{
#if DUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS
return intersection.boundaryId();
#else
return (intersection.boundary()) ? int(intersection.indexInInside()+1) : int(0);
#endif
}
template< int codim >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment