mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
ebos: replace the opm-parser related pointers/smart pointers by references
this seems to be the spirit of the season. note that now the deck object must be copied, but I suppose that copying it is pretty cheap.
This commit is contained in:
@@ -86,7 +86,7 @@ class EclWriterHelper
|
||||
std::string egridFileName(egridRawFileName);
|
||||
std::free(egridRawFileName);
|
||||
|
||||
ErtGrid ertGrid(*writer.simulator_.gridManager().eclGrid(),
|
||||
ErtGrid ertGrid(writer.simulator_.gridManager().eclState().getInputGrid(),
|
||||
writer.simulator_.gridManager().grid(),
|
||||
writer.simulator_.gridManager().cartesianIndexMapper(),
|
||||
writer.simulator_.problem().deckUnits());
|
||||
|
||||
Reference in New Issue
Block a user