mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
759c2dbdaa
commit
a5e859e4c6
@ -301,7 +301,7 @@ public:
|
|||||||
, deckUnits_(simulator)
|
, deckUnits_(simulator)
|
||||||
, eclWriter_(simulator)
|
, eclWriter_(simulator)
|
||||||
, summaryWriter_(simulator)
|
, summaryWriter_(simulator)
|
||||||
, pffDofData_(simulator.gridView(), simulator.model().dofMapper())
|
, pffDofData_(simulator.gridView(), this->elementMapper())
|
||||||
{
|
{
|
||||||
// add the output module for the Ecl binary output
|
// add the output module for the Ecl binary output
|
||||||
simulator.model().addOutputModule(new Ewoms::EclOutputBlackOilModule<TypeTag>(simulator));
|
simulator.model().addOutputModule(new Ewoms::EclOutputBlackOilModule<TypeTag>(simulator));
|
||||||
|
Loading…
Reference in New Issue
Block a user