diff --git a/dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh b/dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh index 8c66ea962f31f9c54957d48401f44e0bedaaf40c..90f1fa01aaceff474c51956cb4b7a525a403f0e8 100644 --- a/dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh +++ b/dumux/discretization/cellcentered/mpfa/fvgridgeometry.hh @@ -166,14 +166,13 @@ public: */ void update() { + ParentType::update(); + // stop the time required for the update Dune::Timer timer; - // clear containers (necessary after grid refinement) - scvs_.clear(); + // clear scvfs container scvfs_.clear(); - scvfIndicesOfScv_.clear(); - elementMap_.clear(); // determine the number of geometric entities const auto numVert = this->gridView().size(dim); @@ -571,14 +570,11 @@ public: */ void update() { + ParentType::update(); + // stop the time required for the update Dune::Timer timer; - // clear containers (necessary after grid refinement) - scvfIndicesOfScv_.clear(); - neighborVolVarIndices_.clear(); - elementMap_.clear(); - // resize containers numScvs_ = numDofs(); scvfIndicesOfScv_.resize(numScvs_);