mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Update to new parserMode interface
This commit is contained in:
parent
332ded52e8
commit
86afb1bbf6
@ -214,10 +214,9 @@ try
|
|||||||
Opm::OpmLog::addBackend( "COUNTER" , counterLog );
|
Opm::OpmLog::addBackend( "COUNTER" , counterLog );
|
||||||
}
|
}
|
||||||
|
|
||||||
Opm::ParseMode parseMode;
|
|
||||||
Opm::DeckConstPtr deck;
|
Opm::DeckConstPtr deck;
|
||||||
std::shared_ptr<EclipseState> eclipseState;
|
std::shared_ptr<EclipseState> eclipseState;
|
||||||
parseMode.randomSlash = InputError::IGNORE;
|
Opm::ParseMode parseMode({{ ParseMode::PARSE_RANDOM_SLASH , InputError::IGNORE }});
|
||||||
try {
|
try {
|
||||||
deck = parser->parseFile(deck_filename, parseMode);
|
deck = parser->parseFile(deck_filename, parseMode);
|
||||||
Opm::checkDeck(deck);
|
Opm::checkDeck(deck);
|
||||||
|
Loading…
Reference in New Issue
Block a user