Commit 489d158d authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[mpfa][fvgridgeom] call update in parent

parent 3f713bb6
......@@ -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_);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment