mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
TransMult, Init, and SimConfig are references, applyModifierDeck takes reference, and EclipseState constructor too
This commit is contained in:
@@ -102,7 +102,7 @@ try
|
||||
ParserPtr parser(new Opm::Parser());
|
||||
Opm::ParseContext parseContext({{ ParseContext::PARSE_RANDOM_SLASH , InputError::IGNORE }});
|
||||
deck = parser->parseFile(deck_filename , parseContext);
|
||||
eclipseState.reset(new Opm::EclipseState(deck , parseContext));
|
||||
eclipseState.reset(new Opm::EclipseState(*deck , parseContext));
|
||||
|
||||
// Grid init
|
||||
grid.reset(new GridManager(eclipseState->getInputGrid()));
|
||||
|
||||
Reference in New Issue
Block a user