mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adapt construction of to EclipseWriter
i.e., don't pass around the UnstructuredGrid object directly, but use the "generic" interface which is also used in the case Dune::CpGrid.
This commit is contained in:
@@ -148,8 +148,7 @@ try
|
||||
Opm::EclipseWriter outputWriter(param, deck,
|
||||
Opm::UgGridHelpers::numCells(*grid),
|
||||
Opm::UgGridHelpers::globalCell(*grid),
|
||||
Opm::UgGridHelpers::cartDims(*grid),
|
||||
Opm::UgGridHelpers::dimensions(*grid));
|
||||
Opm::UgGridHelpers::cartDims(*grid));
|
||||
|
||||
// Rock and fluid init
|
||||
props.reset(new BlackoilPropertiesFromDeck(deck, eclipseState,
|
||||
|
||||
Reference in New Issue
Block a user