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 2016-11-17 19:41:20 +01:00
parent 759c2dbdaa
commit a5e859e4c6

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));