diff --git a/dumux/common/intersectionmapper.hh b/dumux/common/intersectionmapper.hh index 4e0d07637a52117df5e50e70c1a24c56ef4dd27e..720aa87f5a076febd81f564c2068a85ecb9c8633 100644 --- a/dumux/common/intersectionmapper.hh +++ b/dumux/common/intersectionmapper.hh @@ -267,7 +267,7 @@ public: } protected: - const GridView& gridView_; + const GridView gridView_; ElementMapper elementMapper_; unsigned int size_; std::vector<std::unordered_map<int, int> > intersectionMapGlobal_; diff --git a/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/croperatoradaptive.hh b/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/croperatoradaptive.hh index 769875020d8c03b8d3d9e2ecd7a321ad45ac6177..53f5a105546bf23b729b2b9c29910ce38d18ad3a 100644 --- a/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/croperatoradaptive.hh +++ b/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/croperatoradaptive.hh @@ -175,7 +175,7 @@ public: void updateMatrix(); protected: - const GridView& gridView_; + const GridView gridView_; const IS& is_; IntersectionMapper intersectionMapper_; RepresentationType A_; diff --git a/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/mimeticadaptive.hh b/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/mimeticadaptive.hh index c5673496670f7601b939584b0144d4750941147f..1b8fbded15c575bcd580e6424f5190aa81dad578 100644 --- a/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/mimeticadaptive.hh +++ b/dumux/porousmediumflow/2p/sequential/diffusion/mimetic/mimeticadaptive.hh @@ -403,7 +403,7 @@ private: private: Problem& problem_; - const GridView& gridView_; + const GridView gridView_; const IntersectionMapper& intersectionMapper_; Dune::DynamicVector<Scalar> rhs_; std::vector<Dune::DynamicMatrix<Scalar> > W_;