From d415af6128ce1fa67a0115aebe7ef4e44e98ee40 Mon Sep 17 00:00:00 2001
From: "Dennis.Glaeser" <dennis.glaeser@iws.uni-stuttgart.de>
Date: Fri, 10 May 2019 17:54:57 +0200
Subject: [PATCH] [EntitySet] add additional constructor overload

---
 dumux/common/geometry/geometricentityset.hh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/dumux/common/geometry/geometricentityset.hh b/dumux/common/geometry/geometricentityset.hh
index 2cc146c57a..ac96e57c60 100644
--- a/dumux/common/geometry/geometricentityset.hh
+++ b/dumux/common/geometry/geometricentityset.hh
@@ -48,6 +48,13 @@ public:
     , entityMap_(std::make_shared<EntityMap<GridView, codim>>(gridView.grid(), mapper_))
     {}
 
+    GridViewGeometricEntitySet(const GridView& gridView,
+                               const Mapper& mapper)
+    : gridView_(gridView)
+    , mapper_(mapper)
+    , entityMap_(std::make_shared<EntityMap<GridView, codim>>(gridView.grid(), mapper_))
+    {}
+
     GridViewGeometricEntitySet(const GridView& gridView,
                                const Mapper& mapper,
                                std::shared_ptr<const EntityMap<GridView, codim>> entityMap)
-- 
GitLab