From a5e859e4c6fe3789524b45f745dc1a19f8aff2c5 Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Thu, 17 Nov 2016 19:41:20 +0100 Subject: [PATCH] discretizations: no longer depend on the problem to provide the mappers Dune entity mappers seem to be dirt-cheap to create so there is not much point in jumping through hoops to avoid this... --- ebos/eclproblem.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebos/eclproblem.hh b/ebos/eclproblem.hh index 1dd9b34ac..1bed8155b 100644 --- a/ebos/eclproblem.hh +++ b/ebos/eclproblem.hh @@ -301,7 +301,7 @@ public: , deckUnits_(simulator) , eclWriter_(simulator) , summaryWriter_(simulator) - , pffDofData_(simulator.gridView(), simulator.model().dofMapper()) + , pffDofData_(simulator.gridView(), this->elementMapper()) { // add the output module for the Ecl binary output simulator.model().addOutputModule(new Ewoms::EclOutputBlackOilModule(simulator));