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:
Andreas Lauser
2016-12-05 18:05:56 +01:00
parent 9460177f17
commit 36c010c956
8 changed files with 78 additions and 95 deletions

View File

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