diff --git a/dumux/common/geometry/geometricentityset.hh b/dumux/common/geometry/geometricentityset.hh index 2cc146c57a84ca14a05989fc11860a79b90b795d..ac96e57c60ff8727982b5e61cfef918821f33ad1 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)