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...
This commit is contained in:
Andreas Lauser committed 2016-11-17 19:44:17 +01:00
1 parent 759c2dbdaa
commit a5e859e4c6
1 file changed
+1 -1
+1 -1
View File
@@ -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<TypeTag>(simulator));